public ActionResult Delete(int id) { UserWeb userWeb = new UserWeb(); userWeb.DeleteUser(id); return(RedirectToAction("Index")); }
public ActionResult Delete(int id) { userWeb.DeleteUser(id); return(RedirectToAction("Index", "User")); }