Exemplo n.º 1
0
 public CustomerDb(IConfiguration configuration)
 {
     _dbContext = new CustomerDbContext(configuration.GetConnectionString("CustomersConnectionString"));
 }
Exemplo n.º 2
0
 public CustomerDb(string connectionString)
 {
     _dbContext = new CustomerDbContext(connectionString);
 }