ConfigureServices 2
private void ConfigureServices(IServiceCollection serviceCollection) | |
{ | |
// Register services with DI system | |
serviceCollection.AddTransient<IEnvironmentService, EnvironmentService>(); | |
serviceCollection.AddTransient<IConfigurationService, ConfigurationService>(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment