Пример #1
0
        public ActionResult <IEnumerable <VehicleTypesReadDto> > GetVehicleTypesCommands()
        {
            var VehicleTypesItems = _repo.GetCarDataCommands();

            return(Ok(_mapper.Map <IEnumerable <VehicleTypesReadDto> >(VehicleTypesItems)));
        }