diff --git a/Sources/BowlingStub/BowlingStub.csproj b/Sources/BowlingStub/BowlingStub.csproj
index 132c02c..88ad13a 100644
--- a/Sources/BowlingStub/BowlingStub.csproj
+++ b/Sources/BowlingStub/BowlingStub.csproj
@@ -6,4 +6,8 @@
enable
+
+
+
+
diff --git a/Sources/BowlingStub/StubEquipe.cs b/Sources/BowlingStub/StubEquipe.cs
index ae8f036..4a76c4e 100644
--- a/Sources/BowlingStub/StubEquipe.cs
+++ b/Sources/BowlingStub/StubEquipe.cs
@@ -1,3 +1,4 @@
+using BowlingLib.Model;
using System;
public class StubEquipe
@@ -11,7 +12,7 @@ public class StubEquipe
{
for (int i = 0; i < n; i++)
{
- listEquipes.Add(new Equipe() { Nom = "Equipe " + i + 1 });
+ listEquipes.Add(new Equipe("Equipe " + i + 1));
for(int k = 0; k < j; k++)
{
@@ -19,6 +20,7 @@ public class StubEquipe
}
}
- }
+ return listEquipes;
+ }
}
diff --git a/Sources/BowlingStub/StubJoueur.cs b/Sources/BowlingStub/StubJoueur.cs
index 9a8ad90..5fc7ec1 100644
--- a/Sources/BowlingStub/StubJoueur.cs
+++ b/Sources/BowlingStub/StubJoueur.cs
@@ -1,4 +1,5 @@
-using System;
+using BowlingLib.Model;
+using System;
public class StubJoueur
{
@@ -11,8 +12,9 @@ private List listJoueurs = new List();
{
for (int i = 0; i < n; i++)
{
- listJoueurs.Add(new Joueur() { Pseudo = "Joueur "+i+1 });
+ listJoueurs.Add(new Joueur("Joueur " + i + 1));
}
+ return listJoueurs;
}
}