예제 #1
0
        private void save()
        {
            var selectedFields = JobCustomFieldDescriptionList.Where(f => f.IsChecked).ToList();

            appController.Publish(new UpdateJobCustomFieldListArgs(selectedFields));
            OnRequestClose();
        }
예제 #2
0
        private void save()
        {
            var selectedFields = JobCustomFieldDescriptionList.Where(f => f.IsChecked).ToList();

            if (period != null && Job != null)
            {
                appController.Publish(new UpdateJobInPeriodCustomFieldListArgs(selectedFields, Period.Id, Job.Id));
            }
            OnRequestClose();
        }