title: How does ASP.NET Web.api handle two methods with names starting with GET?
body: <p>I am looking at the following tutorial from Microsoft.  As per this tutorial,</p>
  
  <blockquote>
    <p>In the first example, "products" matches the controller named
    ProductsController. The request is a GET request, so the framework
    looks for a method on ProductsController whose name starts with
    "Get...". Furthermore, the URI does not contain the optional {id}
    segment, so the framework looks for a method with no parameters. The
    ProductsController::GetAllProducts method meets all of these
    requirements.</p>
  </blockquote>
  
  <p>What happens if there are two methods like GetAllProducts() and GetSoldProducts()?  Both have no parameters.</p>
  
  <p><a href="http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api" rel="noreferrer">Your First Web API Tutorial</a></p>