public static string chargeCurrentAccount(this DebitAccount currentAccount)
 {
     // Bussiness Logic
     return(currentAccount.FormatTransaction());
 }
Ejemplo n.º 2
0
 public static string chargeInvestmentAccount(this DebitAccount investmentAccount)
 {
     // Bussiness Logic
     return(investmentAccount.FormatTransaction());
 }
 public static string chargeSavingsAccount(this DebitAccount savingsAccount)
 {
     // Bussiness logic
     return(savingsAccount.FormatTransaction());
 }