Пример #1
0
 public void DeleteProduct(int productID)
 {
     context.DeleteProduct(productID);
 }
 public bool DeleteProduct(int id)
 {
     return(context.DeleteProduct(id));
 }
 public IHttpActionResult DeleteProduct(int productId)
 {
     productContext.DeleteProduct(productId);
     return(Ok("Product Deleted Successfully"));
 }
Пример #4
0
 public void DeleteProduct(int productId)
 {
     _productContext.DeleteProduct(productId);
 }
 public void DeleteProduct(int id)
 {
     _productcontext.DeleteProduct(id);
 }