title: ASP.NET MVC - Nesting Routes / Controllers
body: <p>I have an ASP.NET MVC app. I have seen similar question asked. However, I haven't found a good answer. Essentially, I want to use the following routes:</p>
  
  <pre><code>/admin/users
  /admin/users/create
  /admin/users/[someId]
  /admin/roles
  /admin/roles/create
  /admin/roles/[someId]
  </code></pre>
  
  <p>I have the following file structure:</p>
  
  <pre><code>/Controllers
    AdminController.cs
    /Admin
      UsersController.cs
      RolesController.cs
  /Views
    /Admin
      Index.cshtml
      /Users
        Index.cshtml
        Detail.cshtml
        Create.cshtml
      /Roles
        Index.cshtml
        Create.cshtml
        Detail.cshtml
  </code></pre>
  
  <p>When I run my app, I just get <code>The resource cannot be found.</code></p>
  
  <p>What am I doing wrong? I set breakpoints, but none of them are being hit. It's like the routes aren't mapping to the controllers. I'm not sure what I need to do though.</p>