Exemple #1
0
        public void AddNewSettings()
        {
            var vm = new AddNewSettingsViewModel(settingsRepository);

            if (ShowDialog(vm))
            {
                var s = vm.GetNewSettingsInfo();
                settingsRepository.AddNewSettings(s);
                logger.Log(string.Format(Resources.LogAddedNewSettings, s.ToString("LOG", null)), Category.Debug, Priority.None);
            }
        }