ASP.NET Core — How to use Dependency Injection in Entity Framework Core