Using the recommended method to have dependency injection for Context
In Startup.cs
services.AddDbContext(options => options.Use