Exemplo n.º 1
0
 public static IServiceCollection ConfigureDynamiConfig(this IServiceCollection services, IConfiguration configuration)
 {
     RedisContext.SetConnectionString(configuration[ConfigurationConstants.RedisConnectionString]);
     new MongoContext(configuration[ConfigurationConstants.MongoDBConnectionString]);
     IoC.CreateContainer();
     return(services);
 }