示例#1
0
        public IActionResult RentReturn(Rental rental)
        {
            var result = _rentManager.CarReturn(rental);

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