public static List <IUIData> GetData(int PortalID, int ModuleID, string Identifier, Dictionary <string, string> UIEngineInfo, Dictionary <string, string> Parameters) { Dictionary <string, IUIData> Settings = new Dictionary <string, IUIData>(); List <URLEntity> Urls = new List <URLEntity>(); if (Parameters.ContainsKey("eid") && Parameters.ContainsKey("ename")) { Urls = URLFactory.GetUrlHistory(ModuleID, int.Parse(Parameters["eid"]), Parameters["ename"]).OrderByDescending(o => o.URLID).ToList(); } Settings.Add("UrlHistory", new UIData { Name = "UrlHistory", Options = Urls }); return(Settings.Values.ToList()); }
public static List <URLEntity> GetUrlHistory(int ModuleID, int EntityID, string Entity) { return(URLFactory.GetUrlHistory(ModuleID, EntityID, Entity)); }