Exemple #1
0
 //Starts the BankApp
 public void StartBankApp()
 {
     BankDataFile.ReadBankData();
     TextHandler.SplitSemicolon();
     Menu.MenuAsText();
     Menu.MenuSwitch();
 }
Exemple #2
0
 //Runs when Case0 is selected in the menu
 public void EndSession()
 {
     Console.WriteLine("*Avsluta och spara *");
     TextHandler.UniteWithSemicolon();
     BankDataFile.WriteBankData();
     Console.WriteLine("Antal kunder: " + Customer.customers.Count);
     Console.WriteLine("Antal konton: " + Account.accounts.Count);
     Console.WriteLine("Saldo: " + Balance.TotalBalance());
 }