public static string ClubConfig(string key) { InfosecEntities Db = new InfosecEntities(); var config = Db.club_config.SingleOrDefault(x => x.Key == key); if (config != null) { return(config.Value); } else { return(null); } }
public static string ClubConfig(string key) { InfosecEntities Db = new InfosecEntities(); var config = Db.club_config.SingleOrDefault(x => x.Key == key); if (config != null) { return(config.Value); } else { return(null); } }