Example #1
0
        public async Task GamePress(string pokemonName)
        {
            var pokemon = _repo.GetByName(pokemonName);

            await SendPokemonMessage(pokemon);
        }
Example #2
0
        public IActionResult GetByName(string name)
        {
            Pokemon pokemon = _repo.GetByName(name);

            return(View("GetById", pokemon));
        }