diff --git a/Code/LinqToPgSQL/PersLinqToPgSQL.cs b/Code/LinqToPgSQL/PersLinqToPgSQL.cs index bd43f68..f83b4ac 100644 --- a/Code/LinqToPgSQL/PersLinqToPgSQL.cs +++ b/Code/LinqToPgSQL/PersLinqToPgSQL.cs @@ -79,7 +79,7 @@ namespace LinqToPgSQL using (var command1 = new NpgsqlCommand(requete, conn)) { - command1.Parameters.AddWithValue("p2", i.Id); + command1.Parameters.AddWithValue("p", i.Id); await command1.ExecuteNonQueryAsync(); } diff --git a/Code/Model/Stub.cs b/Code/Model/Stub.cs index 42b3df6..b35a14a 100644 --- a/Code/Model/Stub.cs +++ b/Code/Model/Stub.cs @@ -39,6 +39,8 @@ namespace Model Comptes.Add(new("PEL", 22000)); return Comptes; } + + } }