public void Write(SettingsType key, object value) { lock (locker) { dbService.SettingsSetValue(key, Converter.ToString(value)); } }