public ActionResult Del() { string idlist = Request.Form["id"]; SiteModel.DelSite(idlist); return(RedirectToAction("Index", "Site")); }
public ActionResult Del(int id) { SiteModel.DelSite(id.ToString()); return(RedirectToAction("Index", "Site")); }
public ActionResult Del() { string idlist = Request.Form["id"]; SiteModel.DelSite(idlist); return(RedirectToAction("Index", "Site")); }
public ActionResult Del(int id) { SiteModel.DelSite(id.ToString()); return(RedirectToAction("Index", "Site")); }