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