title: Creating a different route to a specific action
body: <p>I am working on an asp.net 5 mvc api, and I am currently working on the Accounts Controller.</p>
  
  <p>since I saw in many different places that there is a convention of using <code>/api/Token</code>routing to a login in a web api. I would like to route to that specific method without the accounts prefix, I would prefer not using a different controller, and I would prefer using Attributes over routing in Startup.cs to avoid confusion in the future.</p>
  
  <p>this is what I have currently</p>
  
  <pre><code>[Route("api/[controller]")]
  public class AccountsController : Controller
  {
      [HttpPost("login")]
      public async Task&lt;JwtToken&gt; Token([FromBody]Credentials credentials)
      {
       ...
      }
  
      [HttpPost]
      public async Task CreateUser([FromBody] userDto)
      {
        ...
      }
  }
  </code></pre>