public IActionResult GetPokemon([Required][FromRoute] int pokemonID) { try { var response = _repo.Get(pokemonID); return(StatusCode((int)HttpStatusCode.OK, response)); } catch (Exception ex) { return(BadRequest(ex.Message)); } }