Exemplo n.º 1
0
        private static async void GetAllMatchOfCompetition(MatchProvider matchController, int id)
        {
            var matches = await matchController.GetAllMatchOfCompetition(id);

            lock (lockWrite)
            {
                Console.WriteLine("### All matches of competition ###");
                Console.WriteLine(JsonConvert.SerializeObject(matches));
                Console.WriteLine();
            }
        }