public static async Task DoOp() { var da = new DogRepository(); var list = await da.GetBreedList(); foreach (var s in list) { Console.ForegroundColor = Program.GetRandomColor(); Console.WriteLine(s); } Console.ReadLine(); }