public EventAggregateSteps() { _config = new ConfigurationFactory().CreateFromAzureSettings(); _connectionString = new ConnectionStringFactory(_config).CreateFromAzureSettings("Stack:Shared:SqlConnection"); _dbContext = new DbContextFactory(_connectionString).Create(); Aggregate = new EventAggregate(_dbContext); }
public VentureAppointmentsController(OccurrencesDbContext context) { _dbContext = context; }
public EventSaveCommandSteps() { _config = new ConfigurationFactory().CreateFromAzureSettings(); _connectionString = new ConnectionStringFactory(_config).CreateFromAzureSettings("Stack:Shared:SqlConnection"); _dbContext = new DbContextFactory(_connectionString).Create(); }
public AssociateAppointmentsController(OccurrencesDbContext context) { _dbContext = context; }
public EventGetHandler(OccurrencesDbContext dbContext) { _dbContext = dbContext; _validator = new EventGetQueryValidator(); _errors = new List <KeyValuePair <string, string> >(); }