コード例 #1
0
        private void RepopulateListsFromCacheSession(IncidentCategoryVM model)
        {
            // Populate cached lists if they are empty. Will invoke service call
            IncidentCategoryLookupListsCacheObject CachedLists = cacheManager.IncidentCategoryListCache;

            // Retrieve any cached lists to model
        }
コード例 #2
0
        private IncidentCategoryLookupListsCacheObject GetIncidentCategoryAndLookups()
        {
            UcbServiceClient     sc           = new UcbServiceClient();
            IncidentCategoryVMDC returnObject = sc.GetIncidentCategory(HttpContext.Current.User.Identity.Name, HttpContext.Current.User.Identity.Name, "FrameworkAdmin", "", null);

            IncidentCategoryLookupListsCacheObject CachedLists = new IncidentCategoryLookupListsCacheObject();

            return(CachedLists);
        }