title: mvc api routing with variable to save basic path
body: <p>I am working in a mvc Api project and while routing actions using [route("api/MyCont/getspecific")] I realized that
   it would be a good idea to use a variable to store the basic path of this controller:"api/myCont", so I could reuse that part of the route and also make the maitenance of the code easier.</p>
  
  <p>This is what I tried:</p>
  
  <pre><code> public class MyContController : ApiController
  {
  
      private readonly string BaseRoute="api/MyCont" ;
  
      [HttpGet]
      [Route(BaseRoute+"/GetSpecific")]
      public IHttpActionResult GetSpecificItem( string ItemId)
      {
      /* do something
       get the item from a source
      */
  
        return Ok(Item);
      }
  
  }
  </code></pre>
  
  <p>but when I do it, there is an error in the route "an object reference is required for the non static field, method or roperty BaseRoute".</p>
  
  <p>What should I do to fix it? 
  Do you think is a good idea what I am doing, in terms of good practices?</p>