From ae0ea28e86fe60f720138186b600e44c73a34f3d Mon Sep 17 00:00:00 2001 From: victor perez ngounou Date: Mon, 24 Oct 2022 15:02:35 +0200 Subject: [PATCH] . --- Sources/BowlingApp/Match.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/BowlingApp/Match.cs b/Sources/BowlingApp/Match.cs index 1587abb..bdac3f7 100644 --- a/Sources/BowlingApp/Match.cs +++ b/Sources/BowlingApp/Match.cs @@ -95,10 +95,10 @@ namespace BowlingApp for(int j = 0; j<10; j++) // pour chaque frame { Frame frame = new Frame(j); - for (int i = 0; i < manager.GetAllPartie().Count(); i++) // on lance les parties à tour de rôle + for (int i = 0; i < manager.GetAllPartie().Result.Count(); i++) // on lance les parties à tour de rôle { - LancerFrame(manager.GetAllPartie().ElementAt(i), saissiseur, frame); - manager.AddPartie(manager.GetAllPartie().ElementAt(i)); + LancerFrame(manager.GetAllPartie().Result.ElementAt(i), saissiseur, frame); + manager.AddPartie(manager.GetAllPartie().Result.ElementAt(i)); } }