Exemplo n.º 1
0
        public QuizController
            (IPokemonService pokemonService,
            IRandomizer randomizer,
            IHttpContextAccessor httpContextAccessor,
            IQuizCalculations quizCalculations,
            IQuizFlow quizFlow,
            IPokemonUserSQLService pokemonUserSQLService)

        {
            _pokemonService        = pokemonService;
            _randomizer            = randomizer;
            _session               = httpContextAccessor.HttpContext.Session;
            _quizCalulations       = quizCalculations;
            _quizFlow              = quizFlow;
            _pokemonUserSQLService = pokemonUserSQLService;
        }
 public PokedexController(IPokemonService pokemonService, IQuizFlow quizFlow)
 {
     _pokemonService = pokemonService;
     _quizFlow       = quizFlow;
 }
Exemplo n.º 3
0
 public HomeController(IHttpContextAccessor httpContextAccessor, IQuizFlow quizFlow, IPlayerService playerService)
 {
     _session       = httpContextAccessor.HttpContext.Session;
     _quizFlow      = quizFlow;
     _playerService = playerService;
 }