title: Same method signature for two diff methods in web api
body: <p>it might have duplicate but i didn't find right solution,</p>
  
  <p>My web api,</p>
  
  <pre><code>public class SampleController : ApiController
  {
      public string Get(int id)
      {
          return "value";
      }
  
      public string hello(int id)
      {
          return "value";
      }
  } 
  </code></pre>
  
  <p>my webapiconfig,</p>
  
  <pre><code>config.Routes.MapHttpRoute(
             name: "DefaultApi",
             routeTemplate: "api/{controller}/{id}",
             defaults: new { id = RouteParameter.Optional }
         );
  </code></pre>
  
  <p>my problem is</p>
  
  <p>When i call <a href="http://localhost:1234/api/Sample/5" rel="nofollow noreferrer">http://localhost:1234/api/Sample/5</a> it's hitting Get(int id) but how can i call method 2 i.e hello(int id) ?? what needs to be changed and what's the best way to handle these kind of scenarios ??</p>