Example #1
0
        public async Task <ActionResult <IEnumerable <GarageReadDto> > > GetAllGaragesAsync()
        {
            var garages = await _garageService.GetGaragesAsync();

            return(Ok(_mapper.Map <IEnumerable <GarageReadDto> >(garages)));
        }