private async void OnSave()
        {
            var editingAccountDocument = Mapper.Map <EditableAccountDocument, AccountDocument>(AccountDocument);

            try
            {
                if (EditMode)
                {
                    await _accountDocumentsService.UpdateAccountDocumentAsync(editingAccountDocument);
                }
                else
                {
                    await _accountDocumentsService.AddAccountDocumentAsync(editingAccountDocument);
                }
                Done?.Invoke();
            }
            catch (Exception ex)
            {
                Failed(ex);
            }
            finally
            {
                AccountDocument = null;
            }
        }
        public void SetAccountDocument(AccountDocument accountDocument)
        {
            AccountDocument = Mapper.Map <AccountDocument, EditableAccountDocument>(accountDocument);
            AccountDocument.ValidationDelegate += AccountDocument_ValidationDelegate;

            AccountDocument.ErrorsChanged += RaiseCanExecuteChanged;
        }