Change DbContext consumption to IObjectContextAdapter