public IActionResult Update(string id, Car carIn) { var car = _carService.GetItem(id); if (car == null) { return(NotFound()); } carIn.CarId = id; _carService.Update(carIn); return(NoContent()); }