I'm currently struggling in a problem where I need to register a route like:
https://localhost:44300/oneController/{Guid}/method1?param1=10000¶m2=stuff
What I've tried was something similar to this:
[HttpGet]
public async Task<ActionResult> method1(Guid id, int param1, string param2)
{
...
}
However, this does not seems to work, any ideas to resolve this issue?
{Guid}withmethod1{Guid}to{id}.method1with the given route and due to different structure of route instead of 1`controller\actionmethod?querystringparameters, he want id to be part of URL. changing{guid}` tomethod1while not help here. correct me if I am wrong