public IActionResult Delete(int id)
 {
     _productRepository.DeleteProduct(id);
     return(new OkResult());
 }