예제 #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);
 }