Пример #1
0
        protected override async Task CloseAsync()
        {
            if (this.Tables.Any() == true)
            {
                await TableContentDescriptorUtility.EndEditAsync(this.authentication, this.contentDescriptor);

                this.DetachEvent();
            }
        }
Пример #2
0
        protected override async Task CloseAsync()
        {
            if (this.Tables.Any() == true)
            {
                try
                {
                    await TableContentDescriptorUtility.EndEditAsync(this.authentication, this.contentDescriptor);

                    this.DetachEvent();
                }
                catch (Exception e)
                {
                    AppMessageBox.ShowError(e);
                }
            }
        }