Exemplo n.º 1
0
        public IActionResult UpdRent(Rental rent)
        {
            var result = _rentManager.Update(rent);

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