/// <summary> /// Initializes a new instance of the <see cref="TournamentRequestController"/> class. /// </summary> /// <param name="requestService"> The request service.</param> /// <param name="userService"> The user service.</param> /// <param name="teamService">The team service.</param> /// <param name="tournamentService">The tournament service.</param> public TournamentRequestController( ITournamentRequestService requestService, IUserService userService, ITeamService teamService, ITournamentService tournamentService) { _teamService = teamService; _requestService = requestService; _userService = userService; _tournamentService = tournamentService; }
/// <summary> /// Initializes a new instance of the <see cref="TournamentsController"/> class /// </summary> /// <param name="tournamentService">The tournament service</param> /// <param name="gameService">The game service</param> /// <param name="authService">The authorization service</param> /// <param name="requestService">The request service</param> /// <param name="currentUserService">The current user service</param> public TournamentsController( ITournamentService tournamentService, IGameService gameService, IAuthorizationService authService, ITournamentRequestService requestService, ICurrentUserService currentUserService) { _tournamentService = tournamentService; _gameService = gameService; _requestService = requestService; _currentUserService = currentUserService; _authService = authService; }