title: Get url for action in controller with attribute routing
body: <p>I have action in controller with ASP.NET MVC 5 attribute routing.</p>
  
  <pre><code>[RoutePrefix("ControllerName")]
  public class MyController : Controller
  {
      [Route("ActionName")]
      public ActionResult Index()
      {
          return View();
      }
  }
  </code></pre>
  
  <p>When I try to get url in action like this (Controller.Url)</p>
  
  <pre><code>Url.Action("Index", "My")
  </code></pre>
  
  <p>I get </p>
  
  <blockquote>
    <p>/My/Index</p>
  </blockquote>
  
  <p>When I do the same in View (It's WebViewPage.Url), </p>
  
  <pre><code>@Url.Action("Index", "My")
  </code></pre>
  
  <p>I get </p>
  
  <blockquote>
    <p>/ControllerName/ActionName</p>
  </blockquote>
  
  <p>How can I get /ControllerName/ActionName in action?</p>