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