示例#1
0
 public static void DepositDetails(DepositReciept reciept)
 {
     Console.Clear();
     Console.WriteLine("Deposited {0:c} to account {1}.",
                       reciept.DepositAmount,
                       reciept.AccountNumber);
     Console.WriteLine("New Balance is {0}", reciept.NewBalance);
     UserPrompts.PressKeyForContinue();
 }
 public static void WithdrawalDetails(TransactionReciept response)
 {
     Console.Clear();
     Console.WriteLine("Withdrew {0:c} to account {1}.",
                       response.TransactionAmount,
                       response.AccountNumber);
     Console.WriteLine("New Balance is {0}", response.NewBalance);
     UserPrompts.PressKeyForContinue();
 }
示例#3
0
 public static void WorkflowErrorScreen(string message)
 {
     Console.Clear();
     Console.WriteLine("An error occured. {0}", message);
     UserPrompts.PressKeyForContinue();
 }