Пример #1
0
 public TournamentController(IMapper mapper, ITournamentService tournamentService, IPlayedGamesService playedGamesService, ITournamentTeamsService tournamentTeamsService, UserManager <AppUser> userManager) : base(userManager)
 {
     _mapper                 = mapper;
     _tournamentService      = tournamentService;
     _playedGamesService     = playedGamesService;
     _tournamentTeamsService = tournamentTeamsService;
 }
 public TournamentController(IMapper mapper, ITeamService teamService, UserManager <AppUser> userManager, ITournamentService tournamentService, ITournamentTeamsService tournamentTeamsService)
 {
     _mapper                 = mapper;
     _teamService            = teamService;
     _userManager            = userManager;
     _tournamentService      = tournamentService;
     _tournamentTeamsService = tournamentTeamsService;
 }
 public TournamentController(IStadiumService stadiumService, IGameServerService gameServerService, ITournamentService tournamentService, IMapper mapper, ITeamService teamService, ITournamentTeamsService tournamentTeamsService)
 {
     _stadiumService         = stadiumService;
     _gameServerService      = gameServerService;
     _tournamentService      = tournamentService;
     _teamService            = teamService;
     _mapper                 = mapper;
     _tournamentTeamsService = tournamentTeamsService;
 }