public AddBookPresenter(Library model, IAddBook view) { this.model = model; this.view = view; view.NewBook += model.AddBook; }
public AddBookController(IAddBook addBook) { _addBook = addBook; }
public AddBookPresenter(Library model, IAddBook view) { this.model = model; this.view = view; view.NewBook += model.AddBook; }
public AddBookController(IAddBook addBook) { _addBook = addBook; }