Ejemplo n.º 1
0
        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);
        }