예제 #1
0
 public AdminPresenter(IWorkerView workerView, AdminModel userModel)
 {
     _userModel = userModel;
     _workerView = workerView;
     _workerView.createAdminView();
     workerView.show();
 }
예제 #2
0
 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;
 }
예제 #3
0
 public WorkerPresenter(IWorkerView workerView)
 {
     _workerView = workerView;
 }