title: Edit URL doesnt contain Id
body: <p>I am learning MVC from </p>
  
  <p><a href="https://www.youtube.com/watch?v=ItSA19x4RU0&amp;list=PL6n9fhu94yhVm6S8I2xd6nYz2ZORd7X2v" rel="nofollow">https://www.youtube.com/watch?v=ItSA19x4RU0&amp;list=PL6n9fhu94yhVm6S8I2xd6nYz2ZORd7X2v</a></p>
  
  <p><br/> I am doing Basic Edit operation..Index Page shows following Data ..</p>
  
  <pre><code>Emp_id   Emp_name    Emp_Sal    
  1         name1       sal1    Edit | Details | Delete
  </code></pre>
  
  <p>...When i click on Edit  ..URL Display Like</p>
  
  <pre><code>"http://localhost/MvcApplication1/Employee/Edit"`
  </code></pre>
  
  <p>...But Accordng to Tutorial it should be like </p>
  
  <pre><code>http://localhost/MvcApplication1/Employee/Edit/01
  </code></pre>
  
  <p>the map Route is </p>
  
  <pre><code>  routes.MapRoute(
                  name: "Default",
                  url: "{controller}/{action}/{id}",
                  defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
              );
  </code></pre>
  
  <p>I have not create Edit ActionMethod till now .</p>
  
  <p>Index View Code is :</p>
  
  <pre><code>@model IEnumerable&lt;BusinessLayer.Employee&gt;
  @{
      ViewBag.Title = "Index";
  }
  &lt;h2&gt;
      Index&lt;/h2&gt;
  &lt;p&gt;
      @Html.ActionLink("Create New", "Create")
  &lt;/p&gt;
  &lt;table&gt;
      &lt;tr&gt;
  
          &lt;th&gt;
              @Html.DisplayNameFor(model =&gt; model.Emp_id)
          &lt;/th&gt;
  
          &lt;th&gt;
              @Html.DisplayNameFor(model =&gt; model.Emp_name)
          &lt;/th&gt;
          &lt;th&gt;
              @Html.DisplayNameFor(model =&gt; model.Emp_Sal)
          &lt;/th&gt;
          &lt;th&gt;
          &lt;/th&gt;
      &lt;/tr&gt;
      @foreach (var item in Model)
      {
          &lt;tr&gt;
          &lt;td&gt;
                  @Html.DisplayFor(modelItem =&gt; item.Emp_id)
              &lt;/td&gt;
              &lt;td&gt;
                  @Html.DisplayFor(modelItem =&gt; item.Emp_name)
              &lt;/td&gt;
              &lt;td&gt;
                  @Html.DisplayFor(modelItem =&gt; item.Emp_Sal)
              &lt;/td&gt;
              &lt;td&gt;
                  @Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) |
                  @Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) |
                  @Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })
              &lt;/td&gt;
          &lt;/tr&gt;
      }
  &lt;/table&gt;
  </code></pre>
  
  <p>Please Suggest if I am missing something </p>