Looking to make individual pokemon views but later
This commit is contained in:
parent
dd9b0006d3
commit
42d3a864e4
|
@ -55,6 +55,11 @@ namespace Portfolio.WebUI.Server.Components.Component
|
|||
Navigation.NavigateTo($"/pokemonsleep/edit/{id}");
|
||||
}
|
||||
|
||||
private void ViewPokemon(int id)
|
||||
{
|
||||
Navigation.NavigateTo($"/pokemonsleep/pokemon/{id}");
|
||||
}
|
||||
|
||||
private string GetTypeImageUrl(string pokemonType)
|
||||
{
|
||||
if (string.IsNullOrEmpty(pokemonType))
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
@page "/pokemonsleep/pokemon/{id:int}"
|
||||
|
||||
@code {
|
||||
|
||||
}
|
Loading…
Reference in New Issue