private void FilterExpenses() { Expenses = expenseRepository.FilterExpenses(allExpenses, searchInput, selectedExpenseType); Sum = expenseRepository.GetTotalSum(Expenses.ToList()); }