public SystemSettings SetValue(SystemSettingsEnum key, string value) { return(SetValue(key.ToString(), value)); }
public decimal GetDecimalValue(SystemSettingsEnum key) { return(GetDecimalValue(key.ToString())); }
public string GetValue(SystemSettingsEnum key) { return(GetValue(key.ToString())); }
public int GetIntValue(SystemSettingsEnum key) { return(GetIntValue(key.ToString())); }
public bool GetBoolValue(SystemSettingsEnum key) { return(GetBoolValue(key.ToString())); }
public SystemSettings GetByName(SystemSettingsEnum settingName) { SystemSettings result = base.CSLDbContext.SystemSettings.Where(item => string.Equals(item.Name, settingName.ToString(), StringComparison.OrdinalIgnoreCase)).FirstOrDefault(); return(result); }