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