title: ASP.NET MVC different routing for different actions
body: <p>I am building a Site using ASP.NET MVC. In <code>RouteConfig</code>, I modified the method like this:</p>
  
  <pre><code>public static void RegisterRoutes(RouteCollection routes)
  {
       routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
       routes.MapRoute(
           name: "Default",
           url: "{Director}/{Movie}/{id}",
           defaults: new { controller = "Movies", action = "Index", id = UrlParameter.Optional, Director = UrlParameter.Optional, Movie = UrlParameter.Optional }
           );
  
       routes.MapRoute(
           name: "Default2",
           url: "{controller}/{action}/{id}",
           defaults: new { controller = "Movies", action = "Create", id = UrlParameter.Optional }
           );            
  }
  </code></pre>
  
  <p>And in IndexView, I coded like:</p>
  
  <pre><code>@model IEnumerable&lt;MvcMovie.Models.Director&gt;
  
  &lt;table&gt;
      @foreach (var item in Model)
      {
          &lt;tr&gt;
              &lt;td&gt;
                  @Html.DisplayFor(modelItem =&gt; item.Name)
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;
                  @foreach (var movie in item.Movies)
                  {
                      &lt;div style="width: 100%;"&gt;
                          @Html.ActionLink(movie.Title, "Index", new { Director = movie.Director.Name, Movie = movie.Title }, null)
                      &lt;/div&gt;
                  }
              &lt;/td&gt;
          &lt;/tr&gt;
      }
  &lt;/table&gt;
  </code></pre>
  
  <p>Actually I modified <code>RouteConfig</code> because I want different URLs for different directors and different movies in order to satisfy our client's <code>SEO requirement</code>.</p>
  
  <p>It is working fine for the <code>Index</code> Action but even when I tried to invoke <code>Create</code> action using <code>@Html.ActionLink("Create New", "Create")</code>, it still invokes <code>Index</code> action. According to my understanding so far, it should invoke <code>Create</code> Action. I am new to MVC so sorry if my question seems foolish.  But what major thing, I am missing here?</p>