常用方法
常用方法
常用方法
常用方法
public ActionResult Edit(int id) { if (repo.Edit(id) == null) { return(HttpNotFound()); } repo.DeleteConfirmed(id); return(RedirectToAction("Create", "Purchase")); }
public ActionResult Edit(int id) { if (repo.Edit(id) == null) { return(HttpNotFound()); } repo.DeleteConfirmed(id); return(RedirectToAction("Create", "Purchase")); }