Exemple #1
0
        private void RepopulateListsFromCacheSession(NarrativeVM model)
        {
            // Populate cached lists if they are empty. Will invoke service call
            NarrativeLookupListsCacheObject CachedLists = cacheManager.NarrativeListCache;

            // Retrieve any cached lists to model
        }
        private NarrativeLookupListsCacheObject GetNarrativeAndLookups()
        {
            UcbServiceClient sc           = new UcbServiceClient();
            NarrativeVMDC    returnObject = sc.GetNarrative(HttpContext.Current.User.Identity.Name, HttpContext.Current.User.Identity.Name, "FrameworkAdmin", "", null);

            NarrativeLookupListsCacheObject CachedLists = new NarrativeLookupListsCacheObject();

            return(CachedLists);
        }