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);
        }
        public static async Task <bool> DeleteAsync(Authentication authentication, ITableCategoryDescriptor descriptor)
        {
            var dialog = await DeleteTableCategoryViewModel.CreateInstanceAsync(authentication, descriptor);

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