Exemplo n.º 1
0
        private static async void GetMatchById(MatchProvider matchController, int idMatch)
        {
            var match = await matchController.GetMatchById(idMatch);

            lock (lockWrite)
            {
                Console.WriteLine("### Get match by ID ###");
                Console.WriteLine(JsonConvert.SerializeObject(match));
                Console.WriteLine();
            }
        }