private void deleteEvent(Book book)
 {
     controller.deleteBook(book);
     dataGridView.Rows.Clear();
     loadData();
 }
 private void addEvent(Book book)
 {
     controller.addBook(book);
     dataGridView.Rows.Clear();
     loadData();
 }