public IActionResult CarIsReturned(int carId) { var result = _rentalService.CarIsReturned(carId); if (result.Success) { return(Ok(result)); } return(BadRequest(result)); }
public IActionResult CarIsReturned(int carId) { var result = _rentalService.CarIsReturned(carId); if (result.Success) { return(Ok(result)); } return(BadRequest(result)); }