Пример #1
0
        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
        }
Пример #2
0
        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);
        }