public List <WebApi.Entities.MockUser> GetMockUsers(string userid) { return(CacheExtensions.Data(userid, () => { return ServerApiInvoker.Get_MockUsers(userid); })); }
public List <WebApi.Entities.WebSite> GetTopWebsite() { return(CacheExtensions.Data("topwebsite", () => { return ServerApiInvoker.Get_TopWebsite(); })); }
private List <WebApi.Entities.ScriptObject> GetScripts(string url) { url = StringHelper.GetDomain(url); return(CacheExtensions.Data(url, () => { return ServerApiInvoker.GetScriptObjectByUrl(url); })); }