public static List <State> GetStates() { if (stateList == null) { StaticCache.LoadStaticCache(); } return(stateList); //return HttpRuntime.Cache[StateCacheName] as List<State>; }
public static List <Category> GetCategories() { if (categoryList == null) { StaticCache.LoadStaticCache(); } return(categoryList); //return HttpRuntime.Cache[StateCacheName] as List<State>; }