Ejemplo n.º 1
0
 public UnitOfWorkRepository(IBetType betType,
                             ICountry country,
                             IEvent @event,
                             IMarket market,
                             ISportTree sportTree,
                             ITournament tournament,
                             IBetSlip betSlip,
                             IOdds odds
                             )
 {
     BetTypeRepository    = betType;
     CountryRepository    = country;
     EventRepository      = @event;
     MarketRepository     = market;
     SportTreeRepository  = sportTree;
     TournamentRepository = tournament;
     BetSlip        = betSlip;
     OddsRepository = odds;
 }
Ejemplo n.º 2
0
 public BetSlipController(IBetSlip betSlip, ILogger <BetSlipController> logger)
 {
     _betSlip = betSlip;
     _logger  = logger;
 }