private void RetourneActionFacturetaion(List <int> lstCentre, string Periode, string lotri) { Galatee.Silverlight.ServiceReport.ReportServiceClient service1 = new Galatee.Silverlight.ServiceReport.ReportServiceClient(Utility.ProtocoleFacturation(), Utility.EndPoint("Report")); service1.ReturneActionFacturationCompleted += (sr, res) => { if (res != null && res.Cancelled) { return; } if (res.Result != null && res.Result.Count != 0) { Utility.ActionDirectOrientation <ServicePrintings.CsEvenement, ServiceReport.CsEvenement>(res.Result, null, SessionObject.CheminImpression, "ActionFacturation", "Report", true); } else { Message.ShowInformation("Aucune information trouvée", "Report"); return; } }; service1.ReturneActionFacturationAsync(lstCentre, Periode, lotri); service1.CloseAsync(); }