public IActionResult GetCars(int id) { var car = _carData.GetCar(id); if (car != null) { return(Ok(car)); } return(NotFound($"The car with id: {id} was not found!")); }