How can I overload actions in ASP.NET MVC, but with support for GET QueryString? I tried to do something like this:
public JsonResult Find(string q)
{
...
}
public JsonResult Find(string q, bool isBlaBla)
{
...
}
But whenever I access /controller/find?q=abc or /controller/find?q=abc&isBlaBla=false it throws anSystem.Reflection.AmbiguousMatchException.
How to fix this?