protected async Task SelectDeck()
        {
            SelectedDeck = UserDecks.Find(x => x.Name == deckName);
            await DeckState.UpdateSelectedDeckAsync(SelectedDeck);

            isAddCard = true;
            DeckCards = DeckState.SelectedDeck?.Cards;

            isSelectDeck = true;
            StateHasChanged();
        }
        protected async Task AddDeck()
        {
            UserDecks ??= new List <Deck>();
            UserDecks.Add(newDeck);
            SelectedDeck = newDeck;
            deckName     = newDeck.Name;
            await DeckState.UpdateSelectedDeckAsync(SelectedDeck, true);

            isAddCard    = true;
            isSelectDeck = true;
        }