Ejemplo n.º 1
0
 public EventRepository(ICacheService cacheService, IGenericRepository <Event> tournamentRepository,
                        IMatchManagementRepository matchManagementRepository, ILogger <EventRepository> logger)
 {
     _cacheService              = cacheService;
     _tournamentRepository      = tournamentRepository;
     _matchManagementRepository = matchManagementRepository;
     _logger       = logger;
     tournamentsDb = _tournamentRepository.GetMongoDbCollection("TournamentMatchId");
 }
Ejemplo n.º 2
0
 public MatchManagementController(IMatchManagementRepository matchManagementRepository)
 {
     _matchmanagementrepository = matchManagementRepository;
 }