Pattern: create scopes in background workers and resolve DbContext from IServiceProvider.CreateScope()
to respect scoped lifetimes.
Pattern: create scopes in background workers and resolve DbContext from IServiceProvider.CreateScope()
to respect scoped lifetimes.