public ActionResult Delete(int id) { CultureManager cm = new CultureManager(); bool result = cm.Delete(id); if (result) { return(Redirect("/LiuXinPeng/Culture/Culture")); } else { return(Content("删除失败!")); } }
public int Delete(Guid id) { return(pm.Delete(id)); }