topher-b
9/14/2016 - 2:36 PM

Links in Razor/MVC

Links in Razor/MVC

<li>
  @Html.ActionLink(@issue.SourceIdentifier, "SetCurrentIssue", "Home", new { id = issue.SourceIdentifier }, null)
</li>
public ActionResult SetCurrentIssue(string id)
{
  Global.CurrentlySelectedIssue = SelectedIssue.SetCurrentlySelectedIssue(id);
  return View("Index");
}