private void ListOfCustomers() { Console.Clear(); Console.WriteLine("Lista klientów:"); foreach (string customer in _accountsManager.ListOfCustomers()) { Console.WriteLine(customer); } Console.ReadKey(); }
//Przypadek 6 - Wypisanie klientów banku private void GetAllCustomers() { Console.Clear(); Console.WriteLine("Lista wszystkich klientów banku: "); foreach (string customer in _accountsManager.ListOfCustomers()) { Console.WriteLine(customer); } Console.ReadKey(); }