private void Init() { departmentsView = new DepartmentsView(); stuffView = new StuffView(); deptController = new DepartmentController(departmentsView); deptController.AttachView(departmentsView); deptController.AttachView(stuffView); //stuffController = new StuffController(); }
public DepartmentController(DepartmentsView view) { Init(); view.AttachController(this); }