|
|
|
@ -15,7 +15,7 @@ namespace espacecollab.backend.api.Controllers |
|
|
|
|
BusinessUnitServices = businessUnitServices; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[HttpGet("agence/{agenceId:int:min(1)}")] |
|
|
|
|
[HttpGet("agences/{agenceId:int:min(1)}")] |
|
|
|
|
public ActionResult<IEnumerable<BusinessUnitApiDto>> GetBusinessUnitsByAgence(uint agenceId) |
|
|
|
|
{ |
|
|
|
|
IEnumerable<BusinessUnitApiDto> businessUnits = BusinessUnitServices.GetBusinessUnitsByAgence(agenceId); |
|
|
|
|