title: Controller Action Methods with different signatures
body: <p>I am trying to get my URLs in <strong>files/id</strong> format. I am guessing I should have two Index methods in my controller, one with a parameter and one with not. But I get this error message in browser below.</p>
  
  <p>Anyway here is my controller methods:</p>
  
  <pre><code>public ActionResult Index()
  {
      return Content("Index ");
  }
  
  public ActionResult Index(int id)
  {
      File file = fileRepository.GetFile(id);
      if (file == null) return Content("Not Found");
      else return Content(file.FileID.ToString());
  }
  </code></pre>
  
  <p>Update: Done with adding a route. Thanks to Jeff</p>