Example #1
0
 public void DeleteProduct(Product p)
 {
     context.Remove(p);
     context.SaveChanges();
 }