public async Task <IActionResult> Get(string id) { var car = await _parking.GetCarByIdAsync(id); if (car == null) { return(BadRequest($"The machine with the number {id} not found.")); } return(Ok(car)); }