コード例 #1
0
 public static List <State> GetStates()
 {
     if (stateList == null)
     {
         StaticCache.LoadStaticCache();
     }
     return(stateList);
     //return HttpRuntime.Cache[StateCacheName] as List<State>;
 }
コード例 #2
0
 public static List <Category> GetCategories()
 {
     if (categoryList == null)
     {
         StaticCache.LoadStaticCache();
     }
     return(categoryList);
     //return HttpRuntime.Cache[StateCacheName] as List<State>;
 }