예제 #1
0
 public static void MakeTransaction(Topup topup) => History.Add(topup);
예제 #2
0
        public void TopupAccount(decimal amount)
        {
            var topup = new Topup(CustomerID, amount);

            Topup.MakeTransaction(topup);
        }