public CustomerDb(IConfiguration configuration) { _dbContext = new CustomerDbContext(configuration.GetConnectionString("CustomersConnectionString")); }
public CustomerDb(string connectionString) { _dbContext = new CustomerDbContext(connectionString); }