title: ASP.NET mvc multiple routing
body: <p>I googled a lot of pages with the same issues but i couldn't solve my problem.
  So I have this in the controller</p>
  
  <pre><code>public IEnumerable&lt;questions&gt; Get()
      {
          return (UOW.Questions.GetAll());
      }
  
      // GET api/questions/5
      public questions Get(int id)
      {
          return (UOW.Questions.GetById(id));
      }
  
      ////Basic Questions :: api/questions/basic
      [ActionName("basic")]
      public IEnumerable&lt;questions&gt; GetBasicQuestions()
      {
          return (UOW.Questions.GetBasicQuestions());
      }
  
      [ActionName("basic")]
      public questions GetBasicQuestionsById(int id)
      {
          return (UOW.Questions.GetBasicQuestions(id));
      }
  </code></pre>
  
  <p>and this in the WEbApiConfig :</p>
  
  <pre><code>public static void Register(HttpConfiguration config)
      {
          config.Routes.MapHttpRoute(
              name: "DefaultController",
              routeTemplate: "api/{controller}"
          );
  
          config.Routes.MapHttpRoute(
              name: "DefaultControllerId",
              routeTemplate: "api/{controller}/{id}",
              defaults: null,
              constraints: new { id = @"^\d+$" }
          );
  
          config.Routes.MapHttpRoute(
              name: "DefaultAction",
              routeTemplate: "api/{controller}/{action}"
          );
  
          config.Routes.MapHttpRoute(
              name: "DefaultActionId",
              routeTemplate: "api/{controller}/{action}/{id}",
              defaults: new { action = RouteParameter.Optional }
          );
      }
  </code></pre>
  
  <p>I don't get whay when I enter localhost/api/questions and localhost/api/questions/1</p>
  
  <p>gives me multiple route error...</p>
  
  <p>Thank you.. </p>