public IActionResult RentalCheck(int carId, DateTime rentDate, DateTime returnDate)
        {
            var result = _rentalManager.GetRentalDate(carId, rentDate, returnDate);

            if (result.Success)
            {
                return(Ok(result));
            }
            return(BadRequest());
        }