title: Can you have 2 GET methods with different parameter types within the same web api controller?
body: <p>I have an asp.net web api controller with 2 GET methods in it. One accepts a string parameter and the other accepts an int parameter. I only have the default route that comes set up with web api in place.</p>
  
  <pre><code>        public HttpResponseMessage GetSearchResults(string searchTerm)
          {
              HttpResponseMessage response;
              //Do Work
              return response;
          }
  
          public HttpResponseMessage Get(int id)
          {
              HttpResponseMessage response;
              //Do Work
              return response;
          }
  </code></pre>
  
  <p>Every time I pass an int value in the URL, the GET method that takes the string parameter is called. The GET method that takes the int parameter is never called.</p>
  
  <p>Is it possible to have 2 GET methods with different parameter types within the same controller?</p>
  
  <p>-Edit-
  The suggested duplicate question is different because it asks about 2 methods with the exact same parameter types - I'm asking about different parameter types.</p>