Esempio n. 1
0
        public ActionResult Del()
        {
            string idlist = Request.Form["id"];

            SiteModel.DelSite(idlist);
            return(RedirectToAction("Index", "Site"));
        }
Esempio n. 2
0
 public ActionResult Del(int id)
 {
     SiteModel.DelSite(id.ToString());
     return(RedirectToAction("Index", "Site"));
 }