private void RepopulateListsFromCacheSession(SystemMarkedVM model) { // Populate cached lists if they are empty. Will invoke service call SystemMarkedLookupListsCacheObject CachedLists = cacheManager.SystemMarkedListCache; // Retrieve any cached lists to model }
private SystemMarkedLookupListsCacheObject GetSystemMarkedAndLookups() { UcbServiceClient sc = new UcbServiceClient(); SystemMarkedVMDC returnObject = sc.GetSystemMarked(HttpContext.Current.User.Identity.Name, HttpContext.Current.User.Identity.Name, "FrameworkAdmin", "", null); SystemMarkedLookupListsCacheObject CachedLists = new SystemMarkedLookupListsCacheObject(); return(CachedLists); }