private async Task ShowDeleteConfirm(GetAllAuthorsViewModel author) { var content = $"Are you sure to delete Author '{author.Name}' ?"; var title = "Delete confirmation"; var confirmResult = await ConfirmService.Show(content, title, ConfirmButtons.YesNo); if (confirmResult == ConfirmResult.Yes) { await Delete(author); } }
private async Task Delete(GetAllAuthorsViewModel author) { }