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