public static void PrintReport() { var data = repository.GetReportData(); Console.WriteLine("----REPORT----"); Console.WriteLine("Now animals are registered in the clinic:"); Console.WriteLine(); foreach (var record in data) { Console.WriteLine(record); Console.WriteLine(); } Console.WriteLine("----END OF REPORT----"); Console.WriteLine("Press enter to exit to the main menu"); Console.ReadLine(); }