public BatchSizeConfigurationController(DotaDrainContext context)
 {
     _context     = context;
     _dataContext = new EfDataRepository(_context);
 }
 public EfDataRepository(string connectionString)
 {
     var optionsBuilder = new DbContextOptionsBuilder<DotaDrainContext>().UseSqlServer(connectionString).Options;
     _context = new DotaDrainContext(optionsBuilder);
     _context.Database.EnsureCreated();
 }
 public MatchesController(DotaDrainContext context)
 {
     _context     = context;
     _dataContext = new EfDataRepository(_context);
 }
 public EfDataRepository(DotaDrainContext context)
 {
     _context = context;
 }