title: asp.net core 3 routing actionmethod
body: <p>I am using asp.net core 3 and i am having an issue routing to my two actionmethods below.
  I would like a way to be able to get hit the action methods.</p>
  
  <pre><code>    [Route("api/[controller]")]
      [ApiController]
      public class EventsController : ControllerBase
  
  
      [HttpGet("{id}")]
      [ProducesResponseType(StatusCodes.Status200OK)]
      [ProducesResponseType(StatusCodes.Status404NotFound)]
      public async Task&lt;ActionResult&lt;Book&gt;&gt; Details(string id)
      {
          var values = await _Book.Get(id);
  
          return Ok(values);
      }
  
      [HttpGet("{filter}")]
      public async Task&lt;ActionResult&lt;Book&gt;&gt; Filter(string filter)
      {
          var values = await _Book.Get(id);
  
          return Ok(values);
      }
  </code></pre>
  
  <p>In my startup file i have this routing </p>
  
  <pre><code>        app.UseEndpoints(endpoints =&gt;
          {
              endpoints.MapControllers();
          });
  </code></pre>