This is the source code for my Pluralsight course Encapsulating EF Core Usage
Create a database using the Database-initial.sql script, modify the connection string in appsettings.json, and you are good to go!
Source code for each module is tagged and available on the Tags tab. For example, tag "module-3-encapsulating-the-dbcontext" indicates the state of the sample project at the start of module 3, which is titled "Encapsulating the DbContext"