private void RepopulateListsFromCacheSession(AbuseTypeVM model) { // Populate cached lists if they are empty. Will invoke service call AbuseTypeLookupListsCacheObject CachedLists = cacheManager.AbuseTypeListCache; // Retrieve any cached lists to model }
private AbuseTypeLookupListsCacheObject GetAbuseTypeAndLookups() { UcbServiceClient sc = new UcbServiceClient(); AbuseTypeVMDC returnObject = sc.GetAbuseType(HttpContext.Current.User.Identity.Name, HttpContext.Current.User.Identity.Name, "FrameworkAdmin", "", null); AbuseTypeLookupListsCacheObject CachedLists = new AbuseTypeLookupListsCacheObject(); return(CachedLists); }