public AdminController(PlayerQueueService _playerQueue, CalculationUpdatesService _updateService, MapCalculationService _mapCalculationService) { playerQueue = _playerQueue; updateService = _updateService; mapCalculationService = _mapCalculationService; }
public ApiController(IMapper _mapper, PlayerQueueService _playerQueue, CalculationUpdatesService _updateService, IConfiguration _configuration, IHttpContextAccessor _httpContextAccessor) { if (!double.TryParse(_configuration["HighscoreThreshold"], out highscoreThreshold)) { highscoreThreshold = 699.5; } mapper = _mapper; playerQueue = _playerQueue; updateService = _updateService; httpContextAccessor = _httpContextAccessor; }