Ejemplo n.º 1
0
        private void ApplyGeneralParameters(SettingGroup group)
        {
            ApplicationSettingsServices service = new ApplicationSettingsServices(_user);

            foreach (Setting s in group.Settings)
            {
                service.UpdateSelectedParameter(s.Name, s.Value);
            }
        }
Ejemplo n.º 2
0
        private void ApplyPublicHoliday(SettingGroup group)
        {
            ApplicationSettingsServices service = new ApplicationSettingsServices(_user);

            foreach (Setting s in group.Settings)
            {
                DictionaryEntry entry = new DictionaryEntry(s.Value, s.Name);
                service.DeleteNonWorkingDate(entry);
                service.AddNonWorkingDate(entry);
            }
        }
 private void ApplyPublicHoliday(SettingGroup group)
 {
     ApplicationSettingsServices service = new ApplicationSettingsServices(_user);
     foreach (Setting s in group.Settings)
     {
         DictionaryEntry entry = new DictionaryEntry(s.Value, s.Name);
         service.DeleteNonWorkingDate(entry);
         service.AddNonWorkingDate(entry);
     }
 }
 private void ApplyGeneralParameters(SettingGroup group)
 {
     ApplicationSettingsServices service = new ApplicationSettingsServices(_user);
     foreach (Setting s in group.Settings)
     {
         service.UpdateSelectedParameter(s.Name, s.Value);
     }
 }