Пример #1
0
 private void ConfigureProductionServicesForDocker(IServiceCollection services)
 {
     SetupDbContextInStartup.AddDbContext(services, Configuration.GetValue <string>("PersistenceModule:DefaultConnection"));
 }
Пример #2
0
 private void ConfigureProductionServices(IServiceCollection services)
 {
     SetupDbContextInStartup.AddDbContext(services, Configuration.GetConnectionString("NotSocialNetworkDB"));
 }