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