/// <summary> /// Show the dialog to disable the Multi-Factor Authentication /// </summary> /// <returns>TRUE if all is OK or FALSE if something failed</returns> private async Task <bool> ShowDisableMultiFactorAuthDialogAsync() { var result = await DialogService.ShowAsyncMultiFactorAuthCodeInputDialogAsync( this.DisableMultiFactorAuthAsync, AppMessages.AM_2FA_DisableDialogTitle); if (result) { DialogService.CloseMultiFactorAuthCodeInputDialog(); DialogService.ShowMultiFactorAuthDisabledDialog(); } return(result); }