From ca1d71a846312f31e96fd56b1a7421366c09583d Mon Sep 17 00:00:00 2001 From: Fransolet Thomas Date: Wed, 15 Feb 2023 17:13:42 +0100 Subject: [PATCH] Update for doc --- ManagerService/Controllers/SectionController.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ManagerService/Controllers/SectionController.cs b/ManagerService/Controllers/SectionController.cs index f6f4b13..9d11020 100644 --- a/ManagerService/Controllers/SectionController.cs +++ b/ManagerService/Controllers/SectionController.cs @@ -233,17 +233,17 @@ namespace ManagerService.Controllers /// /// Get all section with beacon /// - /// Instance id + /// Instance id [AllowAnonymous] [ProducesResponseType(typeof(List), 200)] [ProducesResponseType(typeof(string), 404)] [ProducesResponseType(typeof(string), 500)] [HttpGet("beacons/{id}")] - public ObjectResult GetAllBeaconsForInstance(string id) + public ObjectResult GetAllBeaconsForInstance(string instanceId) { try { - List
sections = _sectionService.GetAll(id); + List
sections = _sectionService.GetAll(instanceId); if (sections.Count == 0) throw new KeyNotFoundException("No section has beacon");