private async void ActionModifyCompteCommand() { WSService wsService = WSService.GetInstance(); try { Compte = await wsService.PutCompteAsync(_cpt.CPT_ID, _cpt); } catch (Exception e) { var messageDialog = new MessageDialog("Pas de connexion au webService concerné"); await messageDialog.ShowAsync(); } }