using Microsoft.AspNetCore.Components;
using Microsoft.EntityFrameworkCore.Metadata.Internal;

namespace Portfolio.WebUI.Server.Components.Component.Pokemon_Components
{
    public partial class PokemonEditButton
    {
        [Parameter] public int PokemonId { get; set; }

        private void EditPokemon(int PokemonId)
        {
            Navigation.NavigateTo($"/pokemonsleep/edit/{PokemonId}");
        }
    }
}
