Esempio n. 1
0
        public void DeleteSetting(SettingKeys key)
        {
            var setting = _settingRepository.FindBy(t => t.Key == key.ToString()).FirstOrDefault();

            if (setting != null)
            {
                _settingRepository.Delete(setting);
                _settingRepository.Commit();
            }
        }