示例#1
0
 public void createBook(Book book) {
   bDao.create(book);
 }
示例#2
0
 public Book findBook(int id) {
   return dao.findById(id);
 }
示例#3
0
 public List<Book> getAllBooks() {
   // TODO Auto-generated method stub
   return dao.getAll();
 }
示例#4
0
 public void insertBook(Book b) {
   dao.insert(b);
 }