public BookView()
 {
     InitializeComponent();
     var bookViewModel = new BookViewModel(Storage.Logger);
     DataContext = bookViewModel;
     bookViewModel.OnCloseView += (s, e) => Close();
 }
 public BookCancelCommand(BookViewModel bookViewModel, ILogger logger)
     : base(bookViewModel, logger)
 {
 }
 public BookSaveCriticalFailCommand(BookViewModel bookViewModel, ILogger logger)
     : base(bookViewModel, logger)
 {
 }
 protected BookSaveCommandBase(BookViewModel bookViewModel, ILogger logger)
     : base(bookViewModel, logger)
 {
 }
 public BookSaveCorrectCommand(BookViewModel bookViewModel, ILogger logger)
     : base(bookViewModel, logger)
 {
 }
 public BookSaveErrorCommand(BookViewModel bookViewModel, ILogger logger)
     : base(bookViewModel, logger)
 {
 }