//建構子
 public DepartmentController(DepartmentPresentationModel deptPresentationModel)
 {
     _deptModel.SetDepartmentID(deptPresentationModel.getDepartmentID());
     _deptModel.SetDepartmentName(deptPresentationModel.getDepartmentName());
     _deptModel.SetDepartmentStartTime(deptPresentationModel.getDepartmentStartTime());
     _deptModel.SetDepartmentEndTime(deptPresentationModel.getDepartmentEndTime());
     _deptModel.SetDepartmentManager(deptPresentationModel.getDepartmentManager());
 }
        private void ClickSearchDeptButton(object sender, EventArgs e)
        {
            String deptID = _editDeptIDTB.Text;
            _deptPresentationModel.setDepartmentID(deptID);

            _deptController = new DepartmentController(_deptPresentationModel);
            _deptPresentationModel = _deptController.SearchDepartmentByID();

            if (_deptPresentationModel.getDepartmentID() == null || _deptPresentationModel.getDepartmentID() == "")
                return;

            this.SetAllDeptEditToEnable();
            this.ResetSearchEditDeptUI();
        }