private void ApplyGeneralParameters(SettingGroup group) { ApplicationSettingsServices service = new ApplicationSettingsServices(_user); foreach (Setting s in group.Settings) { service.UpdateSelectedParameter(s.Name, s.Value); } }
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); } }