public void Update(User item) { _db.Entry(item).State = System.Data.Entity.EntityState.Modified; }
public void Update(Question question) { db.Entry(question).State = EntityState.Modified; }
public void Update(Answers answer) { db.Entry(answer).State = EntityState.Modified; }