public void createNew(BookDTO bookDTO) {
   Book book = new Book();
   book.setName(bookDTO.getName());
   repo.save(book);
 }
 public void updateBook(BookDTO bookDTO) {
   Book book = repo.findOne(Long.valueOf(bookDTO.getId()));
   book.setName(bookDTO.getName());
   repo.save(book);
 }