Passing 2 values in Html.actionlink C# code example
Example: how to pass two values in one html.actionlink
Html.ActionLink(
"Display_Name",
"Action_Name",
new { name = item.firstvalue, year = item.secondvalue }
)
Html.ActionLink(
"Display_Name",
"Action_Name",
new { name = item.firstvalue, year = item.secondvalue }
)