private async Task <IList <CM.Vehicle> > InventoryGetListAndMap() { IList <EM.Vehicle> entityList = await _inventoryProvider.GetList(); IList <CM.Vehicle> contractList = _mapper.Map <IList <CM.Vehicle> >(entityList); return(contractList); }
private async Task <IList <CM.Vehicle> > InventoryGetListAndMap() { IList <EM.Vehicle> entityList = await _inventoryProvider.GetList(); IList <CM.Vehicle> contractList = _mapper.Map <IList <CM.Vehicle> >(entityList); return(contractList); }