From 94f1ec76e632bd0f45303397802a61d7974b878e Mon Sep 17 00:00:00 2001 From: nathan boileau Date: Wed, 22 Feb 2023 15:35:02 +0100 Subject: [PATCH] Commentaire --- Sources/apiLOL/Controllers/ControllerChampions.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/apiLOL/Controllers/ControllerChampions.cs b/Sources/apiLOL/Controllers/ControllerChampions.cs index 5e1a255..242abe6 100644 --- a/Sources/apiLOL/Controllers/ControllerChampions.cs +++ b/Sources/apiLOL/Controllers/ControllerChampions.cs @@ -27,6 +27,7 @@ namespace apiLOL.Controllers public async Task Get([FromQuery] int index = 0, int count = 10, string name = "") { //FromQuery permet de filtrer dans la collection de champions en fonction du nom + // Possible de faire une classe PageRequest pour gérer les paramètres index et count _logger.LogInformation($"methode Get de ControllerChampions appelée"); _logger.LogInformation($"Nombre de champions : {await data.ChampionsMgr.GetNbItems()}");