I would like to point two different routes to same Get action method
[Authorize]
[Route("{sportType}")]
[Route("{sportType}/{regular}")]
public async Task<Player> Get(string sportType, string regular)
{
...
Is that possible to specify something like this above? Or do I need to create a separate action?
Above code gives me the following error
No HTTP resource was found that matches the request URI