private void PopulateSeoData(ModuleInstanceView parent, ProviderProfileDto provider, IDictionary<string, string> parameters) { var seoHelper = new SeoHelper(parent, parameters); //SEO Data var seoData = seoHelper.PopulateDetailViewSeoData(_viewSettings, provider); parent.ResponseParameters.Add(CommonParameters.SeoData, seoData); //SEO Schema var seoSchema = seoHelper.BuildSeoSchemaField(provider); if (!string.IsNullOrEmpty(seoSchema)) parent.ResponseParameters.Add(CommonParameters.SeoSchema, seoSchema); }
private void PopulateSeoData(IDictionary<string, string> parameters) { var seoHelper = new SeoHelper(_view, parameters); //SEO Title var pageTitle = seoHelper.BuildListViewTitleFromFormula(_viewSettings, _view.SearchSettings); var seoData = seoHelper.PopulateListViewSeoData(_viewSettings, pageTitle); _view.ResponseParameters.Add(CommonParameters.SeoData, seoData); }