Пример #1
0
        private void RepopulateListsFromCacheSession(OrganisationTypeGroupVM model)
        {
            // Populate cached lists if they are empty. Will invoke service call
            OrganisationTypeGroupLookupListsCacheObject CachedLists = CacheManager.OrganisationTypeGroupListCache;

            // Retrieve any cached lists to model
        }
Пример #2
0
        private OrganisationTypeGroupLookupListsCacheObject GetOrganisationTypeGroupAndLookups()
        {
            UcbServiceClient          sc           = new UcbServiceClient();
            OrganisationTypeGroupVMDC returnObject = sc.GetOrganisationTypeGroup(HttpContext.Current.User.Identity.Name, HttpContext.Current.User.Identity.Name, "FrameworkAdmin", "", null);

            OrganisationTypeGroupLookupListsCacheObject CachedLists = new OrganisationTypeGroupLookupListsCacheObject();

            return(CachedLists);
        }