Пример #1
0
 public void Update(Order order)
 {
     _dbContext.Entry(order).State = EntityState.Modified;
 }
 public void UpdateDeal(Deal deal)
 {
     dealContext.Entry(deal).State = EntityState.Modified;
     Save();
 }
Пример #3
0
 public void Update(Product item)
 {
     _dbContext.Entry(item).State = EntityState.Modified;
 }