Ejemplo n.º 1
0
 //Method for the command to add a new book to the database
 private void AddBookMethod()
 {
     _bookService.AddBook(Book);
     //Clears the book so it is ready for a new one.
     Book = null;
     //Closes the window
     _dialogService.CloseAddDialog();
 }