Fixed request format in controllers

This commit is contained in:
TypoMustakes
2023-12-10 17:35:40 +01:00
parent 08649f1069
commit 6547bd1744
9 changed files with 9 additions and 9 deletions

View File

@@ -16,7 +16,7 @@ namespace WD7UVN_HFT_2023241.Endpoint
this.LogicServices = LogicServices;
}
[HttpGet("{id}")]
[HttpGet()]
public IQueryable<Customer> WhoUsesService([FromQuery] int id)
{
return LogicServices.WhoUsesService(id);