//private int CurrentTicketId = 0; public BetRepository(IAccountRepository accountRepository, IPredictionRepository predictionRepository, XbetContext db) { this.accountRepository = accountRepository; this.predictionRepository = predictionRepository; this.db = db; //CurrentTicketId = GetCurrentTicketId("a"); }
public PredictionService(IPredictionStrategyProvider predictionProvider, IPredictionRepository predictionRepository, IFixtureRepository fixtureRepository, ISqlLinqStoredProceduresRepository storedProcRepository) { if (predictionProvider == null) { throw new ArgumentNullException("predictionProvider"); } if (predictionRepository == null) { throw new ArgumentNullException("predictionRepository"); } if (fixtureRepository == null) { throw new ArgumentNullException("fixtureRepository"); } if (storedProcRepository == null) { throw new ArgumentException("storedProcRepository"); } this.predictionProvider = predictionProvider; this.predictionRepository = predictionRepository; this.fixtureRepository = fixtureRepository; this.storedProcRepository = storedProcRepository; }
public TennisSpreadsheetData(IBookmakerRepository bookmakerRepository, IFixtureRepository fixtureRepository, IPredictionRepository predictionRepository, IWebRepository webRepository, ISqlLinqStoredProceduresRepository storedProcRepository) { if (bookmakerRepository == null) { throw new ArgumentNullException("bookmakerRepository"); } if (fixtureRepository == null) { throw new ArgumentNullException("fixtureRepository"); } if (predictionRepository == null) { throw new ArgumentNullException("predictionRepository"); } if (webRepository == null) { throw new ArgumentNullException("webRepository"); } if (storedProcRepository == null) { throw new ArgumentNullException("storedProcRepository"); } this.bookmakerRepository = bookmakerRepository; this.fixtureRepository = fixtureRepository; this.predictionRepository = predictionRepository; this.webRepository = webRepository; this.storedProcRepository = storedProcRepository; this.predictions = new Dictionary <string, Model.GenericPrediction>(); }
public MemoryRepositories(IRepository<DueDate> dueDates, IProfileRepository profile, IPredictionRepository predictions, ICookieTrackerRepository cookieTrackers, IResultsRepository results) { this.dueDates = dueDates; this.profile = profile; this.predictions = predictions; this.cookieTrackers = cookieTrackers; this.results = results; }
public FootballOddsService(IFixtureRepository fixtureRepository, IBookmakerRepository bookmakerRepository, ISqlLinqStoredProceduresRepository linqStoredProcedureRepository, ISqlStoredProceduresRepository sqlStoredProcedureRepository, IPredictionRepository predictionRepository, ICouponStrategyProvider couponProvider, IOddsStrategyProvider oddsProvider) : base(fixtureRepository, bookmakerRepository, linqStoredProcedureRepository, sqlStoredProcedureRepository, predictionRepository, couponProvider, oddsProvider) { this.sport = "Football"; }
public void SetUp() { _predictionFactory = Substitute.For<IPredictionFactory>(); _predictionRepository = Substitute.For<IPredictionRepository>(); _browser = new Browser(new InjectedBootstrapper(_predictionRepository, _predictionFactory)); }
public AsyncTennisOddsService(IFixtureRepository fixtureRepository, IBookmakerRepository bookmakerRepository, ISqlLinqStoredProceduresRepository linqStoredProcRepository, ISqlStoredProceduresRepository sqlStoredProcRepository, IPredictionRepository predictionRepository, IAsyncCouponStrategyProvider couponProvider, IAsyncOddsStrategyProvider oddsProvider) : base(fixtureRepository, bookmakerRepository, linqStoredProcRepository, sqlStoredProcRepository, predictionRepository, couponProvider, oddsProvider) { this.sport = "Tennis"; }
public AsyncTennisOddsService(IFixtureRepository fixtureRepository, IBookmakerRepository bookmakerRepository, ISqlLinqStoredProceduresRepository linqStoredProcRepository, ISqlStoredProceduresRepository sqlStoredProcRepository, IPredictionRepository predictionRepository, IAsyncCouponStrategyProvider couponProvider, IAsyncOddsStrategyProvider oddsProvider) : base(fixtureRepository, bookmakerRepository, linqStoredProcRepository, sqlStoredProcRepository, predictionRepository, couponProvider, oddsProvider) { this.sport = "Tennis"; }
public SqlRepositories(OrmLiteConnectionFactory dbFactory, IRepository<DueDate> dueDates, IProfileRepository profile, IPredictionRepository predictions, ICookieTrackerRepository cookieTrackers, IResultsRepository results) { this.dbFactory = dbFactory; this.dueDates = dueDates; this.profile = profile; this.predictions = predictions; this.cookieTrackers = cookieTrackers; this.results = results; }
public PredictionController(IAccountRepository accountRepository, IPredictionRepository predictionRepository, IStatisticsRepository statisticsRepository, IBetRepository betRepository, IRandomRepository randomRepository) { this.accountRepository = accountRepository; this.predictionRepository = predictionRepository; this.statisticsRepository = statisticsRepository; this.betRepository = betRepository; this.randomRepository = randomRepository; viewModel = new PredictionsViewModel(); }
public AbstractAsyncPredictionStrategy(IPredictionRepository predictionRepository, IFixtureRepository fixtureRepository, IWebRepositoryProviderAsync webRepositoryProvider) { if (fixtureRepository == null) throw new ArgumentNullException("fixtureRepository"); if (predictionRepository == null) throw new ArgumentNullException("preictionRepository"); if (webRepositoryProvider == null) throw new ArgumentNullException("webRepository"); this.predictionRepository = predictionRepository; this.fixtureRepository = fixtureRepository; this.webRepositoryProvider = webRepositoryProvider; }
public FootballSpreadsheetData(IBookmakerRepository bookmakerRepository, IFixtureRepository fixtureRepository, IPredictionRepository predictionRepository) { if (bookmakerRepository == null) throw new ArgumentNullException("bookmakerRepository"); if (fixtureRepository == null) throw new ArgumentNullException("fixtureRepository"); if (predictionRepository == null) throw new ArgumentNullException("predictionRepository"); this.bookmakerRepository = bookmakerRepository; this.fixtureRepository = fixtureRepository; this.predictionRepository = predictionRepository; }
public AsyncPredictionStrategyProvider(IPredictionRepository predictionRepository, IFixtureRepository fixtureRepository, IWebRepositoryProviderAsync webRepositoryProvider) { if (predictionRepository == null) throw new ArgumentNullException("predictionRepository"); if (fixtureRepository == null) throw new ArgumentNullException("fixtureRepository"); if (webRepositoryProvider == null) throw new ArgumentNullException("webRepository"); this.predictionRepository = predictionRepository; this.fixtureRepository = fixtureRepository; this.webRepositoryProvider = webRepositoryProvider; }
public PredictionService(IPredictionStrategyProvider predictionProvider, IPredictionRepository predictionRepository, IFixtureRepository fixtureRepository, ISqlLinqStoredProceduresRepository storedProcRepository) { if (predictionProvider == null) throw new ArgumentNullException("predictionProvider"); if (predictionRepository == null) throw new ArgumentNullException("predictionRepository"); if (fixtureRepository == null) throw new ArgumentNullException("fixtureRepository"); if (storedProcRepository == null) throw new ArgumentException("storedProcRepository"); this.predictionProvider = predictionProvider; this.predictionRepository = predictionRepository; this.fixtureRepository = fixtureRepository; this.storedProcRepository = storedProcRepository; }
public AdministrationController(IAdministrationRepository administrationRepository, ILeagueRepository leagueRepository, IMatchRepository matchRepository, ITipRepository tipRepository, IPredictionRepository predictionRepository, IAccountRepository accountRepository, IBetRepository betRepository) { this.administrationRepository = administrationRepository; this.leagueRepository = leagueRepository; this.matchRepository = matchRepository; this.tipRepository = tipRepository; this.predictionRepository = predictionRepository; this.accountRepository = accountRepository; this.betRepository = betRepository; viewModel = new AdministrationViewModel(); }
public TennisSpreadsheetData(IBookmakerRepository bookmakerRepository, IFixtureRepository fixtureRepository, IPredictionRepository predictionRepository, IWebRepository webRepository, ISqlLinqStoredProceduresRepository storedProcRepository) { if (bookmakerRepository == null) throw new ArgumentNullException("bookmakerRepository"); if (fixtureRepository == null) throw new ArgumentNullException("fixtureRepository"); if (predictionRepository == null) throw new ArgumentNullException("predictionRepository"); if (webRepository == null) throw new ArgumentNullException("webRepository"); if (storedProcRepository == null) throw new ArgumentNullException("storedProcRepository"); this.bookmakerRepository = bookmakerRepository; this.fixtureRepository = fixtureRepository; this.predictionRepository = predictionRepository; this.webRepository = webRepository; this.storedProcRepository = storedProcRepository; this.predictions = new Dictionary<string, Model.GenericPrediction>(); }
public OddsService(IFixtureRepository fixtureRepository, IBookmakerRepository bookmakerRepository, ISqlLinqStoredProceduresRepository linqStoredProcedureRepository, ISqlStoredProceduresRepository sqlStoredProcedureRepository, IPredictionRepository predicitonRepository, ICouponStrategyProvider couponProvider, IOddsStrategyProvider oddsProvider) { if (fixtureRepository == null) { throw new ArgumentNullException("fixtureRepository"); } if (bookmakerRepository == null) { throw new ArgumentNullException("bookmakerRepository"); } if (linqStoredProcedureRepository == null) { throw new ArgumentNullException("linqStoredProcedureRepository"); } if (sqlStoredProcedureRepository == null) { throw new ArgumentNullException("sqlStoredProcedureRepository"); } if (predicitonRepository == null) { throw new ArgumentNullException("predictionRepository"); } if (couponProvider == null) { throw new ArgumentNullException("couponProvider"); } if (oddsProvider == null) { throw new ArgumentNullException("oddsProvider"); } this.fixtureRepository = fixtureRepository; this.bookmakerRepository = bookmakerRepository; this.linqStoredProcedureRepository = linqStoredProcedureRepository; this.predicitonRepository = predicitonRepository; this.couponProvider = couponProvider; this.oddsProvider = oddsProvider; this.prescreenedCouponTarget = new List <Model.GenericMatchCoupon>(); }
public AsyncOddsService(IFixtureRepository fixtureRepository, IBookmakerRepository bookmakerRepository, ISqlLinqStoredProceduresRepository linqStoredProcRepository, ISqlStoredProceduresRepository sqlStoredProcRepository, IPredictionRepository predicitonRepository, IAsyncCouponStrategyProvider couponProvider, IAsyncOddsStrategyProvider oddsProvider) { if (fixtureRepository == null) { throw new ArgumentNullException("fixtureRepository"); } if (bookmakerRepository == null) { throw new ArgumentNullException("bookmakerRepository"); } if (linqStoredProcRepository == null) { throw new ArgumentNullException("linqStoredProcRepository"); } if (sqlStoredProcRepository == null) { throw new ArgumentNullException("sqlStoredProcRepository"); } if (predicitonRepository == null) { throw new ArgumentNullException("predictionRepository"); } if (couponProvider == null) { throw new ArgumentNullException("couponProvider"); } if (oddsProvider == null) { throw new ArgumentNullException("oddsProvider"); } this.fixtureRepository = fixtureRepository; this.bookmakerRepository = bookmakerRepository; this.linqStoredProcRepository = linqStoredProcRepository; this.sqlStoredProcRepository = sqlStoredProcRepository; this.predicitonRepository = predicitonRepository; this.couponProvider = couponProvider; this.oddsProvider = oddsProvider; }
public AbstractPredictionStrategy(IPredictionRepository predictionRepository, IFixtureRepository fixtureRepository, IWebRepositoryProvider webRepositoryProvider) { if (fixtureRepository == null) { throw new ArgumentNullException("fixtureRepository"); } if (predictionRepository == null) { throw new ArgumentNullException("preictionRepository"); } if (webRepositoryProvider == null) { throw new ArgumentNullException("webRepository"); } this.predictionRepository = predictionRepository; this.fixtureRepository = fixtureRepository; this.webRepositoryProvider = webRepositoryProvider; }
public FootballSpreadsheetData(IBookmakerRepository bookmakerRepository, IFixtureRepository fixtureRepository, IPredictionRepository predictionRepository) { if (bookmakerRepository == null) { throw new ArgumentNullException("bookmakerRepository"); } if (fixtureRepository == null) { throw new ArgumentNullException("fixtureRepository"); } if (predictionRepository == null) { throw new ArgumentNullException("predictionRepository"); } this.bookmakerRepository = bookmakerRepository; this.fixtureRepository = fixtureRepository; this.predictionRepository = predictionRepository; }
public AsyncOddsService(IFixtureRepository fixtureRepository, IBookmakerRepository bookmakerRepository, ISqlLinqStoredProceduresRepository linqStoredProcRepository, ISqlStoredProceduresRepository sqlStoredProcRepository, IPredictionRepository predicitonRepository, IAsyncCouponStrategyProvider couponProvider, IAsyncOddsStrategyProvider oddsProvider) { if (fixtureRepository == null) throw new ArgumentNullException("fixtureRepository"); if (bookmakerRepository == null) throw new ArgumentNullException("bookmakerRepository"); if (linqStoredProcRepository == null) throw new ArgumentNullException("linqStoredProcRepository"); if (sqlStoredProcRepository == null) throw new ArgumentNullException("sqlStoredProcRepository"); if (predicitonRepository == null) throw new ArgumentNullException("predictionRepository"); if (couponProvider == null) throw new ArgumentNullException("couponProvider"); if (oddsProvider == null) throw new ArgumentNullException("oddsProvider"); this.fixtureRepository = fixtureRepository; this.bookmakerRepository = bookmakerRepository; this.linqStoredProcRepository = linqStoredProcRepository; this.sqlStoredProcRepository = sqlStoredProcRepository; this.predicitonRepository = predicitonRepository; this.couponProvider = couponProvider; this.oddsProvider = oddsProvider; }
public OddsService(IFixtureRepository fixtureRepository, IBookmakerRepository bookmakerRepository, ISqlLinqStoredProceduresRepository linqStoredProcedureRepository, ISqlStoredProceduresRepository sqlStoredProcedureRepository, IPredictionRepository predicitonRepository, ICouponStrategyProvider couponProvider, IOddsStrategyProvider oddsProvider) { if (fixtureRepository == null) throw new ArgumentNullException("fixtureRepository"); if (bookmakerRepository == null) throw new ArgumentNullException("bookmakerRepository"); if (linqStoredProcedureRepository == null) throw new ArgumentNullException("linqStoredProcedureRepository"); if (sqlStoredProcedureRepository == null) throw new ArgumentNullException("sqlStoredProcedureRepository"); if (predicitonRepository == null) throw new ArgumentNullException("predictionRepository"); if (couponProvider == null) throw new ArgumentNullException("couponProvider"); if (oddsProvider == null) throw new ArgumentNullException("oddsProvider"); this.fixtureRepository = fixtureRepository; this.bookmakerRepository = bookmakerRepository; this.linqStoredProcedureRepository = linqStoredProcedureRepository; this.predicitonRepository = predicitonRepository; this.couponProvider = couponProvider; this.oddsProvider = oddsProvider; this.prescreenedCouponTarget = new List<Model.GenericMatchCoupon>(); }
public FixturesController(IFixtureRepository fixtureRepository, IPredictionRepository predictionRepository) { _fixtureRepository = fixtureRepository; _predictionRepository = predictionRepository; }
public FootballOddsService(IFixtureRepository fixtureRepository, IBookmakerRepository bookmakerRepository, ISqlLinqStoredProceduresRepository linqStoredProcedureRepository, ISqlStoredProceduresRepository sqlStoredProcedureRepository, IPredictionRepository predictionRepository, ICouponStrategyProvider couponProvider, IOddsStrategyProvider oddsProvider) : base(fixtureRepository, bookmakerRepository, linqStoredProcedureRepository, sqlStoredProcedureRepository, predictionRepository, couponProvider, oddsProvider) { this.sport = "Football"; }
public InjectedBootstrapper(IPredictionRepository predictionRepository, IPredictionFactory predictionFactory) { _predictionRepository = predictionRepository; _predictionFactory = predictionFactory; }
public CompetitionSeasonLiveRankingsController(IPlayerRepository playerRepository, IPredictionRepository predictionRepository, ICompetitionSeasonRepository competitionSeasonRepository) { PlayerRepository = playerRepository; PredictionRepository = predictionRepository; CompetitionSeasonRepository = competitionSeasonRepository; }
public TennisPredictionStrategy(IPredictionRepository predictionRepository, IFixtureRepository fixtureRepository, IWebRepositoryProvider webRepositoryProvider) : base(predictionRepository, fixtureRepository, webRepositoryProvider) { }
public FootballAsyncPredictionStrategy(IPredictionRepository predictionRepository, IFixtureRepository fixtureRepository, IWebRepositoryProviderAsync webRepositoryProvider) : base(predictionRepository, fixtureRepository, webRepositoryProvider) { }
public FootballPredictionStrategy(IPredictionRepository predictionRepository, IFixtureRepository fixtureRepository, IWebRepositoryProvider webRepositoryProvider) : base(predictionRepository, fixtureRepository, webRepositoryProvider) { }
public CompetitionSeasonPredictionsController(IPredictionRepository predictionRepository, IPlayerRepository playerRepository) { PredictionRepository = predictionRepository; PlayerRepository = playerRepository; }
public GetPredictionByDayQueryHandler(IPredictionRepository predictionRepository) { this.PredictionRepository = predictionRepository; }
public CompetitionSeasonPlayerClosedPredictionsController(IPlayerRepository playerRepository, IPredictionRepository predictionRepository, ICompetitionSeasonRepository competitionSeasonRepository) { PlayerRepository = playerRepository; PredictionRepository = predictionRepository; CompetitionSeasonRepository = competitionSeasonRepository; }
public PredictionsController(IPredictionRepository predictionRepository, IFixtureRepository fixtureRepository, IUserProvider userProvider) { _predictionsRepository = predictionRepository; _fixturesRepository = fixtureRepository; _userProvider = userProvider; }
public PredictionService(IPredictionRepository predictionRepository) { _predictionRepository = predictionRepository; }
public TennisPredictionService(IPredictionStrategyProvider predictionProvider, IPredictionRepository predictionRepository, IFixtureRepository fixtureRepository, ISqlLinqStoredProceduresRepository storedProcRepository) : base(predictionProvider, predictionRepository, fixtureRepository, storedProcRepository) { }
public TennisAsyncPredictionStrategy(IPredictionRepository predictionRepository, IFixtureRepository fixtureRepository, IWebRepositoryProviderAsync webRepositoryProvider) : base(predictionRepository, fixtureRepository, webRepositoryProvider) { }
public CompletedFixturePredictionsController(IPredictionRepository predictionRepository, IFixturesRepository fixtureRepository) { PredictionRepository = predictionRepository; FixtureRepository = fixtureRepository; }
public PredictionService(PredictionEnginePool <ModelInput, ModelOutput> predictionEngine, IPredictionRepository predictionRepository) { _predictionEngine = predictionEngine; _predictionRepository = predictionRepository; }
public FootballPredictionService(IPredictionStrategyProvider predictionProvider, IPredictionRepository predictionRepository, IFixtureRepository fixtureRepository, ISqlLinqStoredProceduresRepository storedProcRepository) : base(predictionProvider, predictionRepository, fixtureRepository, storedProcRepository) { }
public LandingController(IPredictionRepository predictionRepository, IStatisticsRepository statisticsRepository) { this.predictionRepository = predictionRepository; this.statisticsRepository = statisticsRepository; viewModel = new LandingViewModel(); }