private void MiseAjourColonneImport(aImportFichierColonne importColonne) { bool UpdateImport = false; AdministrationServiceClient service1 = new AdministrationServiceClient(Utility.ProtocoleFacturation(), Utility.EndPoint("Administration")); service1.MisaAjourImportColonneCompleted += (sr, res) => { if (res != null && res.Cancelled) { return; } UpdateImport = res.Result; if (UpdateImport == true) { GetColonneImport(CodeImport); } else { Message.ShowError("Echoué", "Paramétrage"); } }; service1.MisaAjourImportColonneAsync(importColonne); service1.CloseAsync(); }