Пример #1
0
        private void RepopulateListsFromCacheSession(JobRoleVM model)
        {
            // Populate cached lists if they are empty. Will invoke service call
            JobRoleLookupListsCacheObject CachedLists = cacheManager.JobRoleListCache;

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

            JobRoleLookupListsCacheObject CachedLists = new JobRoleLookupListsCacheObject();

            return(CachedLists);
        }