public IActionResult UpdatePokemon([Required][FromBody] UpdatePokemonDto updateDto) { try { var response = _repo.Update(updateDto); return(StatusCode((int)HttpStatusCode.OK, JsonConvert.SerializeObject($"/Pokedex/pokemon/{response}"))); } catch (Exception ex) { return(BadRequest(ex.Message)); } }