public void showCustomerList() { Console.Clear(); CustomerQueries customerQuery = new CustomerQueries(); var customerList = customerQuery.getCustomersAll(); Console.WriteLine("ID\tFirst Name\tLast Name\tPhonenumber"); foreach (var c in customerList) { Console.WriteLine($"{c.CustomerID}\t{c.FirstName}\t{c.LastName}\t{c.PhoneNumber}"); } Console.WriteLine("Press enter to return to the menu"); Console.ReadLine(); }