Generate ASP.NET MVC Core C# Generic Repository Pattern