Dependency Injection
Table Of Contents
.NET Core
Setting up Dependency Injection is easy.
The RepositoryContainer class is the only class that needs to be injected and it implements the IRepositoryContainer interface.
The code below illustrates how to set up DI in the Startup.cs class in .NET Core.
C#