public IActionResult GetAll() { var result = _rentalManager.GetAll(); if (result.IsSuccessful) { return(Ok(result)); } return(BadRequest(result)); }