Example #1
0
        public IActionResult GetRentalDetailsByCustomerId(int customerId)
        {
            var result = _rentalManager.GetRentalDetailsByCustomerId(customerId);

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