常用方法
常用方法
常用方法
常用方法
public ActionResult DeleteCategory(int id) { var repo = new ProductsRepository(); repo.DeleteCategory(id); return(Redirect("/Products/Categories")); }
public ActionResult DeleteCategory(int id) { var repo = new ProductsRepository(); repo.DeleteCategory(id); return(Redirect("/Products/Categories")); }