private void RepopulateListsFromCacheSession(ControlMeasureVM model) { // Populate cached lists if they are empty. Will invoke service call ControlMeasureLookupListsCacheObject CachedLists = cacheManager.ControlMeasureListCache; // Retrieve any cached lists to model }
private ControlMeasureLookupListsCacheObject GetControlMeasureAndLookups() { UcbServiceClient sc = new UcbServiceClient(); ControlMeasureVMDC returnObject = sc.GetControlMeasure(HttpContext.Current.User.Identity.Name, HttpContext.Current.User.Identity.Name, "FrameworkAdmin", "", null); ControlMeasureLookupListsCacheObject CachedLists = new ControlMeasureLookupListsCacheObject(); return(CachedLists); }