private IncidentInterestedPartyLookupListsCacheObject GetIncidentInterestedPartyAndLookups() { UcbServiceClient sc = new UcbServiceClient(); IncidentInterestedPartyVMDC returnObject = sc.GetIncidentInterestedParty(HttpContext.Current.User.Identity.Name, HttpContext.Current.User.Identity.Name, "FrameworkAdmin", "", null); IncidentInterestedPartyLookupListsCacheObject CachedLists = new IncidentInterestedPartyLookupListsCacheObject(); CachedLists.IncidentList = Mapper.Map <IEnumerable <IncidentDC>, List <IncidentModel> >(returnObject.IncidentList); CachedLists.InterestedPartyList = Mapper.Map <IEnumerable <InterestedPartyDC>, List <InterestedPartyModel> >(returnObject.InterestedPartyList); return(CachedLists); }