public AdminPresenter(IWorkerView workerView, AdminModel userModel) { _userModel = userModel; _workerView = workerView; _workerView.createAdminView(); workerView.show(); }
public MainLogic(IWorkerView workerView,IAuthView authView, IDataBaseStorage dataBaseStorage) { _workerView = workerView; _authView = authView; _authModel = new AuthModel(); _dataBaseStorage = dataBaseStorage; _authPresenter = new AuthPresenter(_authView, _authModel, _dataBaseStorage); _authModel.currentUserChanged += defineUser; }
public WorkerPresenter(IWorkerView workerView) { _workerView = workerView; }