public ActionResult Add(culture info) { CultureManager clm = new CultureManager(); bool result = clm.Add(info); if (result) { return(Redirect("/LiuXinPeng/Culture/Culture")); } else { return(Content("新增失败")); } }
public int Add(Culture Culture) { return(pm.Add(Culture)); }