Example #1
0
        public async Task Delete()
        {
            GrimoireBusiness.Vault.Itens.Remove(VaultItem);
            await GrimoireBusiness.SaveVault();

            await Save();
        }
Example #2
0
        public async Task Save()
        {
            await GrimoireBusiness.SaveVault();

            Modified = false;
            await InvokeAsync(() => StateHasChanged());

            UpdateState?.Invoke();
        }