Ejemplo n.º 1
0
 public void Update(tblChqCancellation op)
 {
     _db.Entry(op).State = EntityState.Modified;
     _db.Configuration.ValidateOnSaveEnabled = false;
     Save();
     _db.Configuration.ValidateOnSaveEnabled = true;
 }
Ejemplo n.º 2
0
 public void Update(AspNetUser users)
 {
     _db.Entry(users).State = EntityState.Modified;
     _db.Configuration.ValidateOnSaveEnabled = false;
     Save();
     _db.Configuration.ValidateOnSaveEnabled = true;
 }