public EmployeesPresenter( IEmployeesView view, IEmployeesListPresenter listPresenter, IEmployeesController employeeController) { this.View = view; this.listPresenter = listPresenter; this.listPresenter.EmployeeSelected += new EventHandler <DataEventArgs <BusinessEntities.Employee> >(this.OnEmployeeSelected); this.employeeController = employeeController; View.SetHeader(listPresenter.View); }
public EmployeesPresenter( IEmployeesView view, IEmployeesListPresenter listPresenter, IEmployeesController employeeController) { this.View = view; this.listPresenter = listPresenter; this.listPresenter.EmployeeSelected += new EventHandler<DataEventArgs<BusinessEntities.Employee>>(this.OnEmployeeSelected); this.employeeController = employeeController; View.SetHeader(listPresenter.View); }
public EmployeesPresenter( IEmployeesView view, IEmployeesController employeeController) { this.View = view; this.employeeController = employeeController; this.model = new EmployeesPresentationModel(); this.model.PropertyChanged += Model_PropertyChanged; this.View.Model = model; }
public EmployeesPresenter(IEmployeesView view, IRepository <Employee> model) { this.view = view; this.model = model; }