Exemple #1
0
 public JsonResult AddProduct(Product product)
 {
     _productCatalogueService.AddProduct(product);
     return(Json("Product added successfully", JsonRequestBehavior.AllowGet));
 }