diff --git a/Sources/Data/ClientAPI.cs b/Sources/Data/ClientAPI.cs index cbfc306..719927f 100644 --- a/Sources/Data/ClientAPI.cs +++ b/Sources/Data/ClientAPI.cs @@ -290,7 +290,7 @@ namespace Data var dataBody = new Dictionary { { "compte", compte.Identifiant }, - { "nom", operation.IntituleOperation }, + { "nom", operation.Nom }, { "montant", operation.Montant.ToString() }, { "dateO", operation.DateOperation.ToString() }, { "methodePayement", operation.ModePayement.ToString() }, diff --git a/Sources/Data/PersAPI.cs b/Sources/Data/PersAPI.cs index 72af6ad..fc5d396 100644 --- a/Sources/Data/PersAPI.cs +++ b/Sources/Data/PersAPI.cs @@ -88,7 +88,7 @@ namespace Data } public async Task SupprimerOperation(Compte compte, Operation operation) { - return await ClientAPI.DeleteOperationInscritAsync(compte.Identifiant, operation.IntituleOperation); + return await ClientAPI.DeleteOperationInscritAsync(compte.Identifiant, operation.Nom); } public async Task> RecupererOperation(Compte compte) { diff --git a/Sources/IHM/Desktop/Operations.xaml b/Sources/IHM/Desktop/Operations.xaml index f1ee33f..8c804ea 100644 --- a/Sources/IHM/Desktop/Operations.xaml +++ b/Sources/IHM/Desktop/Operations.xaml @@ -84,7 +84,7 @@ - + @@ -101,7 +101,7 @@ -