public string GetValue(string key) { string value = null; var setting = BlogSettings.SingleOrDefault(s => s.KeyName == key); if (setting != null) { value = setting.KeyValue; } return(value); }
public string GetValue(string key) { string value = null; var setting = BlogSettings.SingleOrDefault(s => s.KeyName == key); if (setting != null) { value = setting.KeyValue; } return(value); }