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;
 }
Exemple #3
0
 public LocationGetHandler(LocalityDbContext dbContext)
 {
     _dbContext = dbContext;
     _validator = new LocationGetValidator();
     _errors    = new List <KeyValuePair <string, string> >();
 }
 public VentureLocationsController(LocalityDbContext context)
 {
     _dbContext = context;
 }