EFI Interview Question

How to Implement Dependency injection in .net core application.