Пример #1
0
        private void LoadExpenses()
        {
            var expenses      = _expenseRepository.Load();
            var presentations = expenses.Select(e => new ExpensePresentation(e)).ToArray();

            Expenses.Clear();
            Expenses.AddRange(presentations);
        }