title: How to pass the ID in URL to next page
body: <p>I have a Page where I am displaying records along with ADD buttons. When I click on ADD button I am navigating user to another page to add new records.</p>
  
  <p>I have used the ActionLink to navigate to next page. But I need to pass the ID also in my actionlink. My Problem comes here is how to get the ID and pass in actionlink.</p>
  
  <p>Here is my code :</p>
  
  <p>View :</p>
  
  <pre><code>@model IEnumerable&lt;MyProject.Models.Record&gt;
  @using (Html.BeginForm())
  {
     &lt;div&gt;
        @Html.ActionLink("ADD", "AddRecords", new { id = 8765})
    &lt;/div&gt;
  }
  </code></pre>