示例#1
0
        public ActionResult DeleteIncome(string id)
        {
            var incomeRepository = new IncomeRepository();

            incomeRepository.DeleteIncome(Convert.ToInt32(id));

            return(RedirectToAction("Index"));
        }