/// <summary> /// Render News curlybracket /// </summary> /// <param name="parameters"></param> /// <returns></returns> public string Render(string[] parameters) { ParseParams(parameters); var templateManageModel = _templateServices.GetTemplateByName(Template) ?? _templateServices.GetTemplateByName(DefaultTemplate); var model = _newsServices.GetHotNews(Count); return(_templateServices.Parse(templateManageModel.Content, model, null, templateManageModel.CacheName)); }