private void RepopulateListsFromCacheSession(ContentVM model) { // Populate cached lists if they are empty. Will invoke service call ContentLookupListsCacheObject CachedLists = cacheManager.ContentListCache; // Retrieve any cached lists to model }
private ContentLookupListsCacheObject GetContentAndLookups() { UcbServiceClient sc = new UcbServiceClient(); ContentVMDC returnObject = sc.GetContent(HttpContext.Current.User.Identity.Name, HttpContext.Current.User.Identity.Name, "FrameworkAdmin", "", null); ContentLookupListsCacheObject CachedLists = new ContentLookupListsCacheObject(); return(CachedLists); }