title: controller action not found MVC 5
body: <p>In my view I have this ActionLink</p>
  
  <pre><code>@Html.ActionLink("Edit", "Edit", "Contract", new { id = Model.ContractId }, new { @class = "btn btn-primary btn-sm" })
  </code></pre>
  
  <p>I have an Edit View and a <code>ContractController</code></p>
  
  <p>In the <code>ContractController</code> I have this action method</p>
  
  <pre><code>[HttpPost, ActionName("Edit")]
  [ValidateAntiForgeryToken]
  public async Task&lt;ActionResult&gt; EditPost(int id, ContractViewModel vm)
  {
    ... code here
  </code></pre>
  
  <p>at runtime when  click the actionlink (Contract\Edit\33)  I get a </p>
  
  <blockquote>
    <p>404 error Edit was not found on controller Controllers.Contract.ContractController</p>
  </blockquote>
  
  <p>can anyone see where Im going wrong here ?</p>