private CustomerContingencyArrangementLookupListsCacheObject GetCustomerContingencyArrangementAndLookups() { UcbServiceClient sc = new UcbServiceClient(); CustomerContingencyArrangementVMDC returnObject = sc.GetCustomerContingencyArrangement(HttpContext.Current.User.Identity.Name, HttpContext.Current.User.Identity.Name, "FrameworkAdmin", "", null); CustomerContingencyArrangementLookupListsCacheObject CachedLists = new CustomerContingencyArrangementLookupListsCacheObject(); CachedLists.CustomerList = Mapper.Map <IEnumerable <CustomerDC>, List <CustomerModel> >(returnObject.CustomerList); CachedLists.ContingencyArrangementList = Mapper.Map <IEnumerable <ContingencyArrangementDC>, List <ContingencyArrangementModel> >(returnObject.ContingencyArrangementList); return(CachedLists); }