Hi All,
I create an amount of actions in MVC controllers.
public ActionResult DoSmth1(string token)
public ActionResult DoAnother2(string token)
And when I have to call ActionLink..
=Html.ActionLink<SomeController>( x=> x.DoSmth(item.property), item.property)
=Html.ActionLink<AnotherController>( x=> x.DoAnother(item.property), item.property)
...it generates me different URLs:
/Some/DoSmth/stringvalue
/Another/DoAnother?property=stringvalue
Where to set the way it builds an URL? I am alr have no ideas...((