How Does One Differentiate Between Routes POSTed To In Asp.Net MVC?

Posted by Laz on Stack Overflow See other posts from Stack Overflow or by Laz
Published on 2010-05-16T19:48:10Z Indexed on 2010/05/16 19:50 UTC
Read the original article Hit count: 226

I have two actions, one that accepts a ViewModel and one that accepts two parameters a string and an int, when I try to post to the action, it gives me an error telling me that the current request is ambiguous between the two actions.

Is it possible to indicate to the routing system which action is the relevant one, and if it is how is it done?

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about asp.net-mvc-2