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

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

            ReferrerLookupListsCacheObject CachedLists = new ReferrerLookupListsCacheObject();

            return(CachedLists);
        }