public PresenterReference(IBindItemView <string> reference) { this.referenceView = reference ?? throw new System.ArgumentNullException(nameof(reference)); this.referenceModel = new ReferenceModel(); Display(); }
public PresenterSelectedDataBase(IBindItemView <TypeDataBase> selectedDataBaseView, IUpdateDataBaseMain updateDataBaseMain) { this.selectedDataBaseView = selectedDataBaseView ?? throw new ArgumentNullException(nameof(selectedDataBaseView)); this.updateDataBaseMain = updateDataBaseMain ?? throw new ArgumentNullException(nameof(updateDataBaseMain)); this.selectedDBModel = new SelectedDataBaseModel(); Display(); }