示例#1
0
        public ActionResult Delete(int id)
        {
            UserWeb userWeb = new UserWeb();

            userWeb.DeleteUser(id);
            return(RedirectToAction("Index"));
        }
示例#2
0
 public ActionResult Delete(int id)
 {
     userWeb.DeleteUser(id);
     return(RedirectToAction("Index", "User"));
 }