private void RepopulateListsFromCacheSession(ReportCategoryVM model) { // Populate cached lists if they are empty. Will invoke service call ReportCategoryLookupListsCacheObject CachedLists = cacheManager.ReportCategoryListCache; // Retrieve any cached lists to model }
private ReportCategoryLookupListsCacheObject GetReportCategoryAndLookups() { UcbServiceClient sc = new UcbServiceClient(); ReportCategoryVMDC returnObject = sc.GetReportCategory(HttpContext.Current.User.Identity.Name, HttpContext.Current.User.Identity.Name, "FrameworkAdmin", "", null); ReportCategoryLookupListsCacheObject CachedLists = new ReportCategoryLookupListsCacheObject(); return(CachedLists); }