I want to create a URL like /?name=Macbeth&year=2011
with my ActionLink
which I have tried doing like so:
<%= Html.ActionLink("View Details", "Details", "Performances", new { name = item.show }, new { year = item.year })%>
but it doesn't work. How do I do this?