can I have more than one route per action on select parameters?

Posted by zsharp on Stack Overflow See other posts from Stack Overflow or by zsharp
Published on 2009-12-10T03:14:41Z Indexed on 2010/04/08 18:03 UTC
Read the original article Hit count: 305

Filed under:

my action has two 3 parameters, but only two are called at a time. So I want to do this: People is the action, string Height, string searchHigh, sting searchLow

 /Groups/People/Tall/searchHigh

and this

 /Groups/People/Short/searchLow

i map both and the first route works, but the second gets appended to the first when go to the short tab.

© Stack Overflow or respective owner

Related posts about asp.net-mvc