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

            appController.Publish(new UpdateJobCustomFieldListArgs(selectedFields));
            OnRequestClose();
        }
Example #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();
        }