Exemple #1
0
 public void Update(User user)
 {
     _context.Entry <User>(user).State = System.Data.Entity.EntityState.Modified;
 }
Exemple #2
0
 public void Update(Exam obj)
 {
     _context.Entry <Exam>(obj).State = System.Data.Entity.EntityState.Modified;
 }