private void EditBook()
        {
            var view = new EditBookView();

            view.ViewModel.SelectedBook = _bookDomain.GetBookById(SelectedBook.Id);
            view.ViewModel.BookChanged += i_BookChanged;
            view.ShowDialog();
        }
Exemplo n.º 2
0
 private void EditBook()
 {
     var view = new EditBookView();
     view.ViewModel.SelectedBook = _bookDomain.GetBookById(SelectedBook.Id);
     view.ViewModel.BookChanged += i_BookChanged;
     view.ShowDialog();
 }