Skip to content

Commit

Permalink
Corrige le bug des ids des tournois (stub)
Browse files Browse the repository at this point in the history
  • Loading branch information
KeRNeLith committed Mar 14, 2016
1 parent 44b889a commit 04046f7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,8 @@ public List<Tournoi> GetAllTournois()

public void CreateTournoi(Tournoi tournoi)
{
tournoi.ID = m_availableTournoiID++;
m_tournois.Add(tournoi);
m_availableTournoiID++;
}

public void UpdateTournoi(Tournoi tournoi)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
@Html.DisplayFor(modelItem => item.Nom)
</td>
<td>
<!-- Prévoir une désactivation du lancement si le tournoi a déjà été joué ? -->
@Html.ActionLink("Lancer", "Launch", null, null, null, "content", new { id = item.ID }, null) |
@Html.ActionLink("Éditer", "Edit", null, null, null, "content", new { id = item.ID }, null) |
@Html.ActionLink("Détails", "Details", null, null, null, "content", new { id = item.ID }, null) |
Expand Down

0 comments on commit 04046f7

Please sign in to comment.