private void RepopulateListsFromCacheSession(IntroductoryInformationVM model) { // Populate cached lists if they are empty. Will invoke service call IntroductoryInformationLookupListsCacheObject CachedLists = cacheManager.IntroductoryInformationListCache; // Retrieve any cached lists to model }
private IntroductoryInformationLookupListsCacheObject GetIntroductoryInformationAndLookups() { UcbServiceClient sc = new UcbServiceClient(); IntroductoryInformationVMDC returnObject = sc.GetIntroductoryInformation(HttpContext.Current.User.Identity.Name, HttpContext.Current.User.Identity.Name, "FrameworkAdmin", "", null); IntroductoryInformationLookupListsCacheObject CachedLists = new IntroductoryInformationLookupListsCacheObject(); return(CachedLists); }