private void RepopulateListsFromCacheSession(RelationshipToCustomerVM model) { // Populate cached lists if they are empty. Will invoke service call RelationshipToCustomerLookupListsCacheObject CachedLists = cacheManager.RelationshipToCustomerListCache; // Retrieve any cached lists to model }
private RelationshipToCustomerLookupListsCacheObject GetRelationshipToCustomerAndLookups() { UcbServiceClient sc = new UcbServiceClient(); RelationshipToCustomerVMDC returnObject = sc.GetRelationshipToCustomer(HttpContext.Current.User.Identity.Name, HttpContext.Current.User.Identity.Name, "FrameworkAdmin", "", null); RelationshipToCustomerLookupListsCacheObject CachedLists = new RelationshipToCustomerLookupListsCacheObject(); return(CachedLists); }