Beispiel #1
0
        public ActionResult EditExpense(int id)
        {
            var expenseRepository = new ExpenseRepository();
            var expenseItem       = expenseRepository.FindExpense(id);
            var viewModel         = new ExpenseManagingViewModel(expenseItem);

            return(View(viewModel));
        }