I am using asp.net MVC 4. Is there a way to use two http get methods on an action with the same name but different parameters? Or just a way to have the page be an index page for both so the name of the page is consistent? Also, int cannot be null.
Example:
Used for querystring and searches
[HttpGet]
public ActionResult Index(int num, string aString)
{
}
Used for just an action link click(a default search)
[HttpGet]
public ActionResult Index()
{
}