public static async Task <bool> DeleteAsync(Authentication authentication, ITableCategoryDescriptor descriptor)
        {
            var dialog = await DeleteTableCategoryViewModel.CreateInstanceAsync(authentication, descriptor);

            if (dialog != null && await dialog.ShowDialogAsync() == true)
            {
                return(true);
            }
            return(false);
        }
示例#2
0
        public static async Task <bool> DeleteAsync(Authentication authentication, ITableCategoryDescriptor descriptor)
        {
            var dialog = await DeleteTableCategoryViewModel.CreateInstanceAsync(authentication, descriptor);

            return(dialog?.ShowDialog() == true);
        }