Example #1
0
 public void Update(Invoice model)
 {
     db.Entry(model).State = EntityState.Modified;
     db.SaveChanges();
 }
Example #2
0
 public void Update(Customer model)
 {
     db.Entry(model).State = EntityState.Modified;
     db.SaveChanges();
 }