Beispiel #1
0
 private void ListOfAllAccounts()
 {
     Console.Clear();
     Console.WriteLine("Wszystkie konta:");
     foreach (Account account in _accountsManager.GetAllAccounts())
     {
         _printer.Print(account);
     }
     Console.ReadKey();
 }
Beispiel #2
0
        //Przypadek 7 - Wypisanie wszystkich kont w banku
        private void GetAllAccounts()
        {
            Console.Clear();
            Console.WriteLine("Lista wszystkich kont w banku: ");
            foreach (Account account in _accountsManager.GetAllAccounts())
            {
                _printer.Print(account);
            }

            Console.ReadKey();
        }