In my ApiController I need to handle this requests:
GET: api/User?role=theRole
GET: api/User?division=?theDivision
...
GET: api/User?other=stringValue
All these requests could be handled via a method like:
public HttpResponseMessage Get(String stringParam)
but obviously I cannot use overloading...
How can I solve this situation? Should I use a single method with optional parameters?