private static async Task <bool> CallListLeagues() { var svc = new LeagueService(); var task = svc.ListLeagues(); await Task.WhenAll(task); Console.WriteLine("Done..."); return(true); }
private static async Task <bool> CallListLeagues() { var svc = new LeagueService(); var task = svc.ListLeagues(); await Task.WhenAll(task); Console.WriteLine("Done..."); return(true); }