Esempio n. 1
0
 void IRepository <Order> .Edit(Order entity)
 {
     db.Entry(entity).State = EntityState.Modified;
     db.SaveChanges();
 }
 public void Edit(Order entity)
 {
     db.Entry(entity).State = EntityState.Modified;
     db.SaveChanges();
 }