private void AddModel(SettingsSectionModel model) { Settings.Sections.Add(model); model.LoadFor(null); }
private static void AddSection(CreateSettingsModel bundlesModel, SettingsSectionModel section) { bundlesModel.Sections.Add(section); if (bundlesModel.SelectedSection.Value == null) bundlesModel.SelectedSection.Value = section; }