Exemplo n.º 1
0
        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);
            }
        }