예제 #1
0
        public ActionResult DeleteExpense(int id)
        {
            var expense = _expenseManager.Get(e => e.ExpenseId == id);

            _expenseManager.Delete(expense);
            return(RedirectToAction("ListExpense"));
        }