public ActionResult DeleteBinhLuan(int id) { CommentModel cm = new CommentModel(); cm.DeleteBinhLuan(id); return(RedirectToAction("TimBinhLuan")); }
public ActionResult MultibleDel(List <int> lstdel) { foreach (var item in lstdel) { CommentModel spm = new CommentModel(); spm.DeleteBinhLuan(item); } return(RedirectToAction("TimBinhLuan")); }