public void OnCreateAccountClick() { view.Hide(); Views.ISignUpView signUpView = view.CreateSignUpView(); ISignUpPresenter signUpPresenter = PresenterFactory.GetSignUpPresenter(signUpView, data, this); signUpPresenter.Start(); }
public SignUpPresenter(Views.ISignUpView view, Model.SchoolDBEntities data, ILoginPresenter loginPresenter) { this.view = view; view.Presenter = this; this.data = data; this.loginPresenter = loginPresenter; // Load entities into local cache data.Parents.LoadAsync(); }
public static ISignUpPresenter GetSignUpPresenter(Views.ISignUpView view, Model.SchoolDBEntities data, ILoginPresenter loginPresenter) => new SignUpPresenter(view, data, loginPresenter);