Esempio n. 1
0
        public async Task DeleteConfirmedAsync()
        {
            await NodeService.DeleteAsync(Id);

            NavigationManager.NavigateTo($"forum/{Forum.Name}");
        }
Esempio n. 2
0
        public async Task DeleteConfirmedAsync()
        {
            await NodeService.DeleteAsync(Category.Id);

            NavigationManager.NavigateTo($"/articles");
        }
Esempio n. 3
0
        public async Task DeleteConfirmedAsync()
        {
            await NodeService.DeleteAsync(Id);

            await OnDelete.InvokeAsync(Id);
        }
Esempio n. 4
0
        public async Task DeleteConfirmedAsync()
        {
            await NodeService.DeleteAsync(Channel.Id);

            NavigationManager.NavigateTo($"/videos/{Channel.Slug}");
        }
Esempio n. 5
0
        public async Task DeleteConfirmedAsync()
        {
            await NodeService.DeleteAsync(Blog.Id);

            NavigationManager.NavigateTo($"/blogs");
        }