Esempio n. 1
0
        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);
            }
        }
Esempio n. 2
0
 private async Task Delete(GetAllAuthorsViewModel author)
 {
 }