private async Task Delete() { if (!await Message.Confirm("This event will be deleted: " + Event.Title)) { return; } await _eventAppService.DeleteAsync(Guid.Parse(Id)); _navigationManager.NavigateTo("/"); }