public TournamentController(ITournamentRepository tournamentRepository,
                             ITournamentsUsersRepository tournamentsUsersRepository,
                             IExerciseRepository exerciseRepository)
 {
     _tournamentRepository       = tournamentRepository;
     _tournamentsUsersRepository = tournamentsUsersRepository;
     _exerciseRepository         = exerciseRepository;
 }
Esempio n. 2
0
 public TournamentService(ITournamentRepository tournamentRepository,
                          ITournamentsUsersRepository tournamentsUsersRepository,
                          IExerciseRepository exerciseRepository, IMapper mapper)
 {
     _tournamentRepository       = tournamentRepository;
     _tournamentsUsersRepository = tournamentsUsersRepository;
     _exerciseRepository         = exerciseRepository;
     _mapper = mapper;
 }
 public void SetUp()
 {
     _tournamentsUsersRepository = new TournamentsUsersRepository(Context);
 }
Esempio n. 4
0
 public RegisterUserHandler(ITournamentsUsersRepository tournamentsUsersRepository)
 {
     _tournamentsUsersRepository = tournamentsUsersRepository;
 }
 public CalculateTournamentResult(IExercisesUsersRepository exercisesUsersRepository,
                                  ITournamentsUsersRepository tournamentsUsersRepository)
 {
     _exercisesUsersRepository   = exercisesUsersRepository;
     _tournamentsUsersRepository = tournamentsUsersRepository;
 }