Пример #1
0
        public ActionResult Delete(int id)
        {
            TaskDal taskDal = new TaskDal();

            if (taskDal.DelUser(id) > 0)
            {
                return(View("Index", taskDal.List()));
            }
            else
            {
                return(Content("删除失败"));
            }
        }