public ActionResult Create(Product product) { if (ModelState.IsValid) { productManager.AddProductEntity(product); return(Redirect(@"http://localhost:57665/Product?categoryId=1")); } return(View()); }
public ActionResult Create(Product product) { if (ModelState.IsValid) { productManager.AddProductEntity(product); return(Redirect(@"http://localhost:57665/Product?categoryId=1")); } return(View()); }