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