Ejemplo n.º 1
0
        private void OpenBook(LibraryItemViewModel book)
        {
            BookViewModel  bookViewModel     = new BookViewModel(book.Id);
            IWindowContext bookWindowContext = windowManager.CreateWindow(bookViewModel);

            bookWindowContext.ShowDialog();
        }
Ejemplo n.º 2
0
 private void RemoveBookFromLibrary(LibraryItemViewModel book)
 {
     libraryModel.RemoveBookFromLibrary(book);
     RefreshLibrary();
 }