Beispiel #1
0
 public void ConfigureServices(IServiceCollection services)
 {
     VersioningConfiguration.AddConfiguration(services, 1, 0);
     DependencyInjectionConfiguration.RegisterServices(services);
     ApiConfiguration.AddConfiguration(services);
     SwaggerConfiguration.AddConfiguration(services);
 }
Beispiel #2
0
 public void ConfigureServices(IServiceCollection services)
 {
     VersioningConfiguration.AddConfiguration(services, 1, 0);
     SwaggerConfiguration.AddConfiguration(services);
     IdentityConfiguration.AddConfiguration(services, Configuration.GetConnectionString("IdentityConnection"));
     ApiConfiguration.AddConfiguration(services);
     DependencyInjectionConfiguration.RegisterServices(services);
 }