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