public GamesService(IAuthorizationService _authorizationService, IMapper _mapper, IOrganizedGamesRepository _organizedGamesRepository, IGamesRepository _gamesRepository, IHttpContextAccessor _httpContextAccessor) { authorizationService = _authorizationService; mapper = _mapper; organizedGamesRepository = _organizedGamesRepository; gamesRepository = _gamesRepository; httpContextAccessor = _httpContextAccessor; }
public PlayersService(IAuthorizationService _authorizationService, IMapper _mapper, IGameParticipantsRepository _gameParticipantsRepository, IOrganizedGamesRepository _organizedGamesRepository, ISubmitedAnswersRepository _submitedAnswersRepository, IGamesRepository _gamesRepository, ITaskAnswersRepository _taskAnswersRepository, IUserRepository _userRepository, IHttpContextAccessor _httpContextAccessor) { authorizationService = _authorizationService; mapper = _mapper; gameParticipantsRepository = _gameParticipantsRepository; organizedGamesRepository = _organizedGamesRepository; submitedAnswersRepository = _submitedAnswersRepository; gamesRepository = _gamesRepository; taskAnswersRepository = _taskAnswersRepository; userRepository = _userRepository; httpContextAccessor = _httpContextAccessor; }