コード例 #1
0
 public IActionResult Delete(Guid id)
 {
     // product.product = prod;
     api.DeletePrice(id);
     return(StatusCode(200, "Product deleted successfully"));
 }
コード例 #2
0
 public IActionResult Delete(Guid id)
 {
     // product.product = prod;
     api.DeletePrice(id);
     return(RedirectToAction("Index"));
 }