From 60379e0a75cd1370c3e84e3253a93c29f44194e6 Mon Sep 17 00:00:00 2001 From: baollier1 Date: Fri, 3 Mar 2023 14:28:56 +0100 Subject: [PATCH] add log to delete champion --- Sources/apiLOL/Controllers/ControllerChampions.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/apiLOL/Controllers/ControllerChampions.cs b/Sources/apiLOL/Controllers/ControllerChampions.cs index 337e44c..caf6594 100644 --- a/Sources/apiLOL/Controllers/ControllerChampions.cs +++ b/Sources/apiLOL/Controllers/ControllerChampions.cs @@ -105,6 +105,8 @@ namespace apiLOL.Controllers [HttpDelete("{name}")] public async Task Delete(String name) { + _logger.LogInformation($"methode Delete de ControllerChampions appelée avec le paramètre name: {name}"); + try { var champ = (await data.ChampionsMgr.GetItemsByName(name, 0, 1)).First();