title: asp-action helper not working for index action
body: <p>I think I'm going crazy perhaps. I've got a controller (TrainingOfficer) which has some methods, but in particular it has Index():</p>
  
  <pre><code>[HttpGet]
  public ActionResult Index()
  {  
  //does stuff, returns a view
  }
  </code></pre>
  
  <p>I then wanted to link to that controller/action, so I wrote out:</p>
  
  <pre><code>&lt;a class="nav-link" asp-area="" asp-controller="TrainingOfficer" asp-action="Index"&gt;Training&lt;/a&gt;
  </code></pre>
  
  <p>But unfortunately razor drops the "Index" method and simply returns (not there is no /Index):</p>
  
  <pre><code>&lt;a class="nav-link" href="/TrainingOfficer"&gt;Training&lt;/a&gt;
  </code></pre>
  
  <p>Which is all well and good, except that when I leave "/Index" off the url it now just prints "value" to the screen:</p>
  
  <p><a href="https://i.stack.imgur.com/ThCQb.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ThCQb.jpg" alt="https://i.imgur.com/4m0OdSC.jpg"></a></p>
  
  <p>Continuing on with the weirdness:</p>
  
  <ol>
  <li>If I travel to TrainingOfficer/Index, it works fine and as expected.</li>
  <li>If I rename Index to IndexLOL, and put IndexLOL as the asp-action in the link, the href tag looks great and everything works.</li>
  </ol>
  
  <p><strong>Why is this having such a problem with a method named Index?</strong> </p>
  
  <p>Even odder, I'm pretty sure this worked just fine with no changes for a month and then recently started showing this behavior. I upgraded my .Net Core nuget package so perhaps that's the culprit. </p>