private void RepopulateListsFromCacheSession(EventLeadingToIncidentVM model) { // Populate cached lists if they are empty. Will invoke service call EventLeadingToIncidentLookupListsCacheObject CachedLists = cacheManager.EventLeadingToIncidentListCache; // Retrieve any cached lists to model }
private EventLeadingToIncidentLookupListsCacheObject GetEventLeadingToIncidentAndLookups() { UcbServiceClient sc = new UcbServiceClient(); EventLeadingToIncidentVMDC returnObject = sc.GetEventLeadingToIncident(HttpContext.Current.User.Identity.Name, HttpContext.Current.User.Identity.Name, "FrameworkAdmin", "", null); EventLeadingToIncidentLookupListsCacheObject CachedLists = new EventLeadingToIncidentLookupListsCacheObject(); return(CachedLists); }