Beispiel #1
0
 public AddBookWindowViewModel(ILibraryBL bl)
 {
     _bl = bl;
     Add = new RelayCommand(AddBook, CanAddBook);
 }
Beispiel #2
0
 public MainWindowViewModel(ILibraryBL bl, IDialogProvider dialogProvider)
 {
     _bl             = bl;
     _dialogProvider = dialogProvider;
     AddBook         = new RelayCommand(OnAddBook, CanAddBook);
 }