Пример #1
0
 public void Edit(Customer c)
 {
     context.Entry(c).State = System.Data.Entity.EntityState.Modified;
     context.SaveChanges();
 }
 public void Edit(Animal a)
 {
     context.Entry(a).State = System.Data.Entity.EntityState.Modified;
     context.SaveChanges();
 }
 public void Edit(Booking b)
 {
     context.Entry(b).State = System.Data.Entity.EntityState.Modified;
     context.SaveChanges();
 }