internal FeedbackPresenter(IFeedbackView view) { _view = view; _apiProvider = new ApiProvider <IFeedback>(); _view.FormLoaded += FormLoad; _view.SubmitClicked += SubmitClicked; }
public FeedbackPresenter(IFeedbackView view) { if (view == null) { throw new ArgumentNullException("view"); } this.view = view; this.view.OK += new EventHandler(view_OK); }