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

            Topup.MakeTransaction(topup);
        }