public IActionResult GetBorrowById(int id) { var borrow = _borrowRepository.GetBorrowById(id); return(Ok(borrow)); }