The Html.ActionLink
<li> ${Html.ActionLink<HomeController>(c => c.Edit(ViewData.Model.Id, ViewData.Model.Title), "Edit")} </li>
When created as html shows the URL to be Edit/5006?title=One
. How do I change this to a pretty URL like Edit/5006/One
?
My Edit Action method is
public ActionResult Edit(int id, string title)