public IDictionary <string, string> GetRootMetadataTemp(GetRootMetaDataInput getRootMetaDataInput) { var itemDataModel = getRootMetaDataInput.ItemDataModel; var moduleId = itemDataModel.Id; var moduleFree = (SocialBusinessModel)itemDataModel.Data; var title = UrlHelper.NormalizeTextForUrl(moduleFree.Title); var routaDatas = new Dictionary <string, string>(); routaDatas.Add("action", "Index"); routaDatas.Add("controller", "Social"); routaDatas.Add("title", title); routaDatas.Add("moduleId", moduleId.ToString(CultureInfo.InvariantCulture)); return(routaDatas); }
public override IDictionary <string, string> GetRootMetadata(GetRootMetaDataInput getRootMetaDataInput) { var itemDataModel = getRootMetaDataInput.ItemDataModel; var moduleId = itemDataModel.Id; var title = UrlHelper.NormalizeTextForUrl(GetTitle(itemDataModel)); var routaDatas = new Dictionary <string, string>(); routaDatas.Add("action", "Index"); routaDatas.Add("controller", ModuleName); routaDatas.Add("title", title); routaDatas.Add("moduleId", moduleId.ToString(CultureInfo.InvariantCulture)); return(routaDatas); }
public abstract IDictionary <string, string> GetRootMetadata(GetRootMetaDataInput getRootMetaDataInput);
public override IDictionary <string, string> GetRootMetadata(GetRootMetaDataInput getRootMetaDataInput) { return(new Dictionary <string, string>()); }
public override IDictionary <string, string> GetRootMetadata(GetRootMetaDataInput getRootMetaDataInput) { throw new NotImplementedException(); }