public LocationAggregateSteps() { _config = new ConfigurationFactory().CreateFromAzureSettings(); _connectionString = new ConnectionStringFactory(_config).CreateFromAzureSettings("Stack:Shared:SqlConnection"); _dbContext = new DbContextFactory(_connectionString).Create(); Aggregate = new LocationAggregate(_dbContext); }
public AssociateLocationsController(LocalityDbContext context) { _dbContext = context; }
public LocationGetHandler(LocalityDbContext dbContext) { _dbContext = dbContext; _validator = new LocationGetValidator(); _errors = new List <KeyValuePair <string, string> >(); }
public VentureLocationsController(LocalityDbContext context) { _dbContext = context; }