public GameStatusService(GameReadService gameReadService, IHubContext <GameStateHub> hubContext, GameRepository gameRepository, AnswerResultRepository answerResultRepository) { this.gameReadService = gameReadService; this.hubContext = hubContext; this.gameRepository = gameRepository; this.answerResultRepository = answerResultRepository; this.hubContext = hubContext; }
public GameService(GameRepository gameRepository, GameReadService gameReadService, UserRepository userRepository, GameStatusService gameStatusService, IHubContext <UserHub> hubContext) { this.gameRepository = gameRepository; this.gameReadService = gameReadService; this.userRepository = userRepository; this.gameStatusService = gameStatusService; this.hubContext = hubContext; }
public GameController(GameService gameService, GameReadService gameReadService) { this.gameService = gameService; this.gameReadService = gameReadService; }