// RETURN BORROW
StringValue borrowId = parameters.get("borrowId");
if (!borrowId.isEmpty()) {
BorrowTO borrow = borrowService.findBorrowByID(borrowId.toLong());
borrowService.returnBooks(borrow, borrow.getTitlesTO());
setResponsePage(ShowAllBorrow.class);
}
// EXTEND BORROW
StringValue extend = parameters.get("extend");