Beispiel #1
0
 public void Update(ProductPrice price)
 {
     db.Entry(price).State = EntityState.Modified;
 }
Beispiel #2
0
 public void Update(Product product) => db.Entry(product).State = EntityState.Modified;