Hi there,
if I have more than 1 method with 'same routing' but different 'query' (example below) I get an 'AmbiguousActionError'
[HttpGet]
[Route('myquery')]
function QueryByName([FromQuery] const Name: string): TResult;
[HttpGet]
[Route('myquery')]
function QueryById([FromQuery] const Id: string): TResult;
With that, the effect I was looking for is:
GET /.../myquery?name='some data'
and
GET /.../myquery?id='some data'
Is this behavior/error by design ? or the code above should work?
Att