private void RepopulateListsFromCacheSession(InterestedPartyVM model) { // Populate cached lists if they are empty. Will invoke service call InterestedPartyLookupListsCacheObject CachedLists = cacheManager.InterestedPartyListCache; // Retrieve any cached lists to model }
private InterestedPartyLookupListsCacheObject GetInterestedPartyAndLookups() { UcbServiceClient sc = new UcbServiceClient(); InterestedPartyVMDC returnObject = sc.GetInterestedParty(HttpContext.Current.User.Identity.Name, HttpContext.Current.User.Identity.Name, "FrameworkAdmin", "", null); InterestedPartyLookupListsCacheObject CachedLists = new InterestedPartyLookupListsCacheObject(); return(CachedLists); }