private void RepopulateListsFromCacheSession(IncidentLocationVM model) { // Populate cached lists if they are empty. Will invoke service call IncidentLocationLookupListsCacheObject CachedLists = cacheManager.IncidentLocationListCache; // Retrieve any cached lists to model }
private IncidentLocationLookupListsCacheObject GetIncidentLocationAndLookups() { UcbServiceClient sc = new UcbServiceClient(); IncidentLocationVMDC returnObject = sc.GetIncidentLocation(HttpContext.Current.User.Identity.Name, HttpContext.Current.User.Identity.Name, "FrameworkAdmin", "", null); IncidentLocationLookupListsCacheObject CachedLists = new IncidentLocationLookupListsCacheObject(); return(CachedLists); }