Real-World Refactoring: Dependency Injecting a Non-ORM Repository for ASP.NET Core

See the original posting on DZone Python

One reader asked me about how to modernize the post titled "Creating a Repository Pattern Without An ORM" and implement it in ASP.NET Core with dependency injection (yep, it was four years ago).

This particular question got me wondering about the implementation of this code example.