public ActionResult Delete(int id) { //删除新闻 BLLNews bll = new BLLNews(); bll.Delete(id); //返回新闻列表 return(RedirectToAction("Index", "News")); }
public ActionResult Delete(int id) { //删除新闻 BLLNews bll = new BLLNews(); bll.Delete(id); //返回新闻列表 return(RedirectToAction("Index", "News")); }