title: How I can get route (Url) from method via reflection
body: <p>How I can get route (Url) from method via reflection.
  From controller and method, like this:</p>
  <pre><code>[ApiController]
  [Authorize]
  [Route(&quot;api/events/[controller]&quot;)]
  public class ApprovedWorksController : ControllerBase
  {
      ...
      
      [HttpPost]
      public async Task&lt;IEnumerable&lt;ApprovedWorkResponse&gt;&gt; GetAsync(ApprovedWorkFilter filter)
      {
          ...
      }
  }
  </code></pre>
  <p>To:</p>
  <pre><code>api/events/ApprovedWorks ...
  </code></pre>