Example #1
0
        private void AssignJob()
        {
            if (_displayEmployee == null || _selectedJobOption == null)
            {
                return;
            }
            if (_displayEmployee.Jobs.Contains(_selectedJobOption))
            {
                return;
            }

            _persMgr.AddJob(_displayEmployee, _selectedJobOption);
            base.OnPropertyChanged("EmployeesJobs");
        }