Esempio n. 1
0
        protected override void PostAction(AddTransactionRecordBaseResult result)
        {
            base.PostAction(result);

            if (result is AddTransactionRecordResult)
            {
                prevBalance = ((AddTransactionRecordResult)result).Balance;
            }
        }
Esempio n. 2
0
 protected virtual void PostAction(AddTransactionRecordBaseResult result)
 {
     TotalIncome  += result.Income;
     TotalExpense -= result.Expense;
     TransactionRecords.Add(result.TransactionRecord);
 }