Hi guys i am new to attribute routing and not sure if this is even possible.
What i have is an attribute route which works fine like this
[HttpGet]
Use a query string.
[HttpGet]
[Route("GetIssuesByFlag/{flag:int=3?}")]
public IEnumerable GetIssuesByFlag(int flag, List tagIds, int? categoryId = null)
Url: /getissuesbyflag/1?tagIds=2,5,6&categoryId=56
You really should use query strings for optional parameters and path parameters if they are required.