private void RepopulateListsFromCacheSession(ReferrerVM model) { // Populate cached lists if they are empty. Will invoke service call ReferrerLookupListsCacheObject CachedLists = cacheManager.ReferrerListCache; // Retrieve any cached lists to model }
private ReferrerLookupListsCacheObject GetReferrerAndLookups() { UcbServiceClient sc = new UcbServiceClient(); ReferrerVMDC returnObject = sc.GetReferrer(HttpContext.Current.User.Identity.Name, HttpContext.Current.User.Identity.Name, "FrameworkAdmin", "", null); ReferrerLookupListsCacheObject CachedLists = new ReferrerLookupListsCacheObject(); return(CachedLists); }