public void Reset() { AquiredDate = null; SelectedEmployees.Clear(); SelectedDepartment = null; SelectedFunction = null; AvailableFunctions.Clear(); NotifyOfPropertyChange(() => CanSave); NotifyOfPropertyChange(() => CanReset); }
public void CancelDept() { if (!string.IsNullOrWhiteSpace(DeptName)) { DeptName = null; SelectedDepartment = null; AvailableFunctions.Clear(); NotifyOfPropertyChange(() => CanDeleteDept); NotifyOfPropertyChange(() => CanDeptFunctToggle); NotifyOfPropertyChange(() => CanSaveAll); NotifyOfPropertyChange(() => CanAvailableFunctionsInitialize); NotifyOfPropertyChange(() => CanDeptName); } }