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