Esempio n. 1
0
        public async Task <IActionResult> Get([FromRoute] long id)
        {
            Garage garage = await _garageService.GetAsync(id);

            if (garage == null)
            {
                return(NotFound());
            }

            return(Ok(garage));
        }