private StaffOrganisationLookupListsCacheObject GetStaffOrganisationAndLookups() { UcbServiceClient sc = new UcbServiceClient(); StaffOrganisationVMDC returnObject = sc.GetStaffOrganisation(HttpContext.Current.User.Identity.Name, HttpContext.Current.User.Identity.Name, "FrameworkAdmin", "", null); StaffOrganisationLookupListsCacheObject CachedLists = new StaffOrganisationLookupListsCacheObject(); CachedLists.StaffList = Mapper.Map <IEnumerable <StaffDC>, List <StaffModel> >(returnObject.StaffList); CachedLists.OrganisationList = Mapper.Map <IEnumerable <OrganisationDC>, List <OrganisationModel> >(returnObject.OrganisationList); CachedLists.ApplicationList = Mapper.Map <IEnumerable <ApplicationDC>, List <ApplicationModel> >(returnObject.ApplicationList); return(CachedLists); }