public BorrowDTO Get(int bookID, int studentID) { BorrowDTO Borrow = _borrowService.Find(bookID, studentID); if (Borrow == null) { throw new DataException(string.Format(ValidationConstants.SDataNotFoundWithValue, "Borrow", string.Format("book: {0} student: {1}", bookID, studentID))); } return(Borrow); }