If I have the following two action methods:
public ActionResult Index(String id) { //do something based on id }
public ActionResult Index(MyCustomViewModel vm) { //do something based on view model provided
}
I am getting an ambiguous method error. How can I setup the routes to ensure both work ?