public void Update(Document item) { db.Entry(item).State = EntityState.Modified; }
public void Update(Customer item) { db.Entry(item).State = EntityState.Modified; }