Beispiel #1
0
        private static async Task <bool> CallListLeagues()
        {
            var svc  = new LeagueService();
            var task = svc.ListLeagues();

            await Task.WhenAll(task);

            Console.WriteLine("Done...");

            return(true);
        }