private void RepopulateListsFromCacheSession(SystemParameterVM model) { // Populate cached lists if they are empty. Will invoke service call SystemParameterLookupListsCacheObject CachedLists = cacheManager.SystemParameterListCache; // Retrieve any cached lists to model }
private SystemParameterLookupListsCacheObject GetSystemParameterAndLookups() { UcbServiceClient sc = new UcbServiceClient(); SystemParameterVMDC returnObject = sc.GetSystemParameter(HttpContext.Current.User.Identity.Name, HttpContext.Current.User.Identity.Name, "FrameworkAdmin", "", null); SystemParameterLookupListsCacheObject CachedLists = new SystemParameterLookupListsCacheObject(); return(CachedLists); }