title: Attribute routing not hitting the action methods inside controllers
body: <p>I'm using attribute routing in my MVC5 application and it is working fine. When I tried to create an area and placed attribute routing on the controller inside it, it returns 404.</p>
  
  <p>I know, to enable attribute routing inside Area, I have to use <code>[RouteArea("Area Name Here")]</code> and also have to add <code>routes.MapMvcAttributeRoutes();</code> inside my RouteConfig class. I did all this and designed my controller like this:</p>
  
  <pre><code>[RouteArea("Client")]
  [RoutePrefix("Client")]
  public class ClientController : Controller
  {
      #region Properties
      private readonly string apiUrl = ConfigurationManager.AppSettings["apiUrl"];
      #endregion
  
      #region Constructor
      public ClientController()
      {
  
      }
      #endregion
  
      #region Action Methods
      [HttpGet, Route("create")]
      public ActionResult Index()
      {
         --logic here
      }
      #endregion
   }
  </code></pre>
  
  <p>When i run the application using the route: <code><a href="http://localhost:26189/Client/create" rel="nofollow noreferrer">http://localhost:26189/Client/create</a></code>, I'm able to hit the constructor but not the Index method. Interestingly, if i remove the attribute <code>[HttpGet, Route("create")]</code> and try this route <code><a href="http://localhost:26189/Client/Index" rel="nofollow noreferrer">http://localhost:26189/Client/Index</a></code> it will hit the Index method.</p>
  
  <p>I'm going through these links but not found the exact fix:
  <a href="https://blogs.msdn.microsoft.com/webdev/2013/10/17/attribute-routing-in-asp-net-mvc-5/#route-areas" rel="nofollow noreferrer">https://blogs.msdn.microsoft.com/webdev/2013/10/17/attribute-routing-in-asp-net-mvc-5/#route-areas</a> </p>