title: Two HttpGet on the same route in one controller
body: <p>I have the following code:</p>
  
  <p><strong>Non-generic controller:</strong></p>
  
  <pre><code>    [Route(Route)]
      public class DogsController : EntityControllerBase&lt;Dog,DogDto&gt;
      {
          public const string Route = "api/dogs";
          public DogsController(IDogsRepository repository) : base(repository)
          {
          }
  
          [ProducesResponseType(200, Type = typeof(DogDto))]
          [HttpGet)]
          public async Task&lt;ActionResult&lt;IEnumerable&lt;DogDto&gt;&gt;&gt; Get([FromQuery]int kennelId, [FromQuery]DateTimeOffset birthDate)
          {
              return Ok("Hit non-generic controller");
          }
  
          protected override DogDto ToDto(Dog instance) =&gt;
              new DogDto(instance.Id,
                  instance.BirthDate,
                  instance.KennelId
                  instance.Name);
      }
  </code></pre>
  
  <p><strong>Generic controller:</strong></p>
  
  <pre><code>    public abstract class EntityControllerBase&lt;TEntity, TEntityDto&gt; : ControllerBase where TEntity : IIdentifiable&lt;int&gt;
      {
          readonly IRepository&lt;TEntity, int&gt; _repository;
  
          protected EntityControllerBase(IRepository&lt;TEntity, int&gt; repository)
          {
              _repository = repository;
          }
  
          protected abstract TEntityDto ToDto(TEntity instance);
  
          [HttpGet]
          [ProducesResponseType(200)]
          public async Task&lt;ActionResult&lt;IEnumerable&lt;TEntityDto&gt;&gt;&gt; GetAll()
          {
              var instances = await _repository.GetAll();
  
              return Ok(instances.Select(ToDto));
          }
      }
  </code></pre>
  
  <p>I would like to have the non-generic controller called on <code>/api/dogs</code> when the user supplies the query parameters <code>kennelId</code> and <code>birthDate</code>, and call the generic method otherwise. Right now it always call the generic controller. How do I fix that?</p>