public IActionResult AddRent(Rental rent) { var result = _rentManager.Add(rent); if (result.Success) { return(Ok(result)); } return(BadRequest(result)); }