//Deposit
 public static void processDeposit(Bank bank, string accountNumber, DateTime timeStamp)
 {
     //Generate random deposit [1800,00-2800,00] EUR
     bank.AddTransaction(accountNumber, _rng.Next(1800, 2801), timeStamp);
 }
Beispiel #2
0
 public string PrintCustomer()
 {
     return(AccountNumber + " " + FirstName + " " + SecondName + " Balance: " + Bank.SearchBalance(AccountNumber));
 }