示例#1
0
 /// <summary>
 /// 删除一条数据
 /// </summary>
 public bool Delete(int id)
 {
     return(dal.Delete(id));
 }
示例#2
0
 public ActionResult Delete(int id)
 {
     product.Delete(id);
     return(RedirectToAction("index"));
 }