title: Default MVC route if url begins with Admin and contains X parameters
body: <p>I have an angular application, which i have split into 2, because of functionality.  For here, we will call the apps Default and Admin.</p>
  
  <p>In my ASP.NET MVC Website, i have this route defined, which will catch all URLs and load the Home/Index.cshtml view.</p>
  
  <pre><code>// Mvc routes
  app.UseMvc(builder =&gt;
  {
      // default goes to Home, and angular will deal with client side routing     
      builder.MapRoute(
          name: "default",
          template: "{*url}",
          defaults: new { controller = "home", action = "index" });
  });
  </code></pre>
  
  <p>Now if the user goes to a URL that contains the word admin (eg. www.mysite.com/admin or www.mysite.com/admin/something) then i would like to return my Admin/Index.cshtml view.</p>
  
  <p>To accompolish this, i have added my <code>AdminController</code> as so</p>
  
  <pre><code>[Authorize]
  public class AdminController : Controller
  {
      [Route("~/Admin/{id?}")]
      public IActionResult Index()
      {
          return View();
      }
  }
  </code></pre>
  
  <p>But if i try and load a url with more than 2 parameters, such as www.mysite.com/admin/page/12 my Home/Index.cshtml is being returned.</p>
  
  <p>How can i get my Admin view to be returned if the word Admin is after the domain name, no matter how many parameters are in the URL??</p>