示例#1
0
        public void BorrowBook(String isbn, String cardId)
        {
            Reader reader = dao.FindReader(cardId);
            Book   book   = dao.FindBook(isbn);

            Borrowing borrowing = new Borrowing(book, reader);

            dao.SaveBorrowing(borrowing);
        }