Ejemplo n.º 1
0
 public IActionResult Delete(Guid id)
 {
     // product.product = prod;
     api.DeletePrice(id);
     return(StatusCode(200, "Product deleted successfully"));
 }
Ejemplo n.º 2
0
 public IActionResult Delete(Guid id)
 {
     // product.product = prod;
     api.DeletePrice(id);
     return(RedirectToAction("Index"));
 }