diff --git a/src/MistoxWebsite.Server/Controllers/ProductController.cs b/src/MistoxWebsite.Server/Controllers/ProductController.cs index a36f4a0..f9a9764 100755 --- a/src/MistoxWebsite.Server/Controllers/ProductController.cs +++ b/src/MistoxWebsite.Server/Controllers/ProductController.cs @@ -105,7 +105,7 @@ namespace MistoxWebsite.Server.Controllers { [Route( "api/product/delete" )] [HttpPost] - public async Task> DeleteProduct( [FromBody] int productID ) { + public async Task> DeleteProduct( [FromForm] int productID ) { try { await _databaseService.DeleteProduct(productID); return true;