Ejemplo n.º 1
0
        private StaffLookupListsCacheObject GetStaffAndLookups()
        {
            UcbServiceClient sc           = new UcbServiceClient();
            StaffVMDC        returnObject = sc.GetStaff(HttpContext.Current.User.Identity.Name, HttpContext.Current.User.Identity.Name, "FrameworkAdmin", "", null);

            StaffLookupListsCacheObject CachedLists = new StaffLookupListsCacheObject();

            CachedLists.GradeList = Mapper.Map <IEnumerable <GradeDC>, List <GradeModel> >(returnObject.GradeList);
            return(CachedLists);
        }