I think the easiest way is to simply use AttributeRouting
.
[Route("api/YOURCONTROLLER/{paramOne}/{paramTwo}")]
public string Get(int paramOne, int paramTwo) {
return "The [Route] with multiple params worked";
}
The {}
names need to match your parameters.
Attribute Routing in ASP.NET Web API 2