AddDbContext method for DI

I made the change Arthur suggested. I added a DbContextActivator with a public field and method.