private async void ActionCreateAccount() { WSService wsService = WSService.GetInstance(); try { _cptNew.CPT_PWD = PasswordChp; await wsService.PostCompteAsync(_cptNew); var messageDialog = new MessageDialog("Nouvel utilisateur ajouté"); await messageDialog.ShowAsync(); } catch (Exception e) { var messageDialog = new MessageDialog("Pas de connexion au webService concerné"); await messageDialog.ShowAsync(); } }