Пример #1
0
        private double GetTotalAmount()
        {
            var totalAmount = Transactions.AsEnumerable().Sum(x => x.Amount);

            return(totalAmount);
        }
Пример #2
0
        private float GetTotalFees()
        {
            var totFee = Transactions.AsEnumerable().Sum(x => x.Fee);

            return(totFee);
        }