Exemple #1
0
 private async Task RegisterAccountActionAsync()
 {
     try
     {
         if (await RegisterAccountViewModel.DisplayViewModelAsync(this))
         {
             InformationsLabel = Translation.Get(TRS.VERIFY_SPAM_INTO_YOUR_MAIL_BOX);
         }
     }
     catch (Exception except)
     {
         var userDialog = Resolver.Resolve <IUserDialogs>();
         await userDialog.AlertAsync(except.Message, Translation.Get(TRS.ERROR), Translation.Get(TRS.OK));
     }
 }
        public static async Task <bool> DisplayViewModelAsync(BaseViewModel parent = null)
        {
            var viewModel = new RegisterAccountViewModel();

            return(await ShowModalViewModelAsync(viewModel, parent));
        }