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