Esempio n. 1
0
 public AnswerService(AnswerRepository answerRepository, QuestionRepository questionRepository, GuessRepository guessRepository, GameStatusService gameStatusService)
 {
     this.answerRepository   = answerRepository;
     this.questionRepository = questionRepository;
     this.guessRepository    = guessRepository;
     this.gameStatusService  = gameStatusService;
 }
Esempio n. 2
0
 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;
 }