Exemple #1
0
        public string WS_TodosJogosSerieB(string sChave)
        {
            bool   flag = sChave == "fvhbr2014;";
            string result;

            if (flag)
            {
                //              string text = Brasileirao.TodosJogos("a", "2016");
                return(JsonConvert.SerializeObject(Jogo.BuscarTodosJogos("BR_B"), Formatting.Indented));

                //                result = text;
            }
            else
            {
                result = "Tentativa de invasão detectada! Você está sendo rastreado...";
            }
            return(result);
        }
Exemple #2
0
 public string BuscarTodosJogos_DB(string sCampeonato)
 {
     return(JsonConvert.SerializeObject(Jogo.BuscarTodosJogos(sCampeonato), Formatting.Indented));
 }