예제 #1
0
        public IActionResult GetAll()
        {
            var result = _rentManager.GetAll();

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