示例#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);
 }