Ejemplo n.º 1
0
        public IActionResult PokemonTeams()
        {
            PokemonTeamsViewModel model = new PokemonTeamsViewModel()
            {
                AllPokemonTeams = this.dataService.GetAllPokemonTeams(this.User.Identity.Name),
                AppConfig       = this.appConfig,
            };

            return(this.View(model));
        }
Ejemplo n.º 2
0
        public IActionResult PokemonTeams(int id)
        {
            PokemonTeamsViewModel model = new PokemonTeamsViewModel()
            {
                AllPokemonTeams = this.dataService.GetPokemonTeamsByUserId(id),
                AppConfig       = this.appConfig,
            };

            return(this.View(model));
        }