This app demonstrates the repository pattern. The branch "before" is the starting point, before applying the pattern. The branch "after" is the code refactored for using the pattern.
This app is used in the following Youtube tutorial : Repository Pattern with a C# and ASP.NET Core example