title: "ExceptionMessage":"Multiple actions were found that match the request
body: <p>I have this two methods which both of them are GET methods without parameters:</p>
  
  <pre><code>[HttpGet]
      [ActionName("ProductsTypes")]
      public dynamic ProductsTypes()
      {
          DbConnection.Connect();
          var result = DbConnection.GetProductsTypes();
          DbConnection.Disconnect();
          return result;
      }
  
      [HttpGet]
      [ActionName("ProductsInfo")]
      public dynamic ProductsInfo()
      {
          DbConnection.Connect();
          var result = DbConnection.GetProductsInfo();
          DbConnection.Disconnect();
          return result;
      }
  </code></pre>
  
  <p>and i defined the routes to be:</p>
  
  <pre><code>config.Routes.MapHttpRoute(
              name: "DefaultApi",
              routeTemplate: "api/{controller}/{id}",
              defaults: new { id = RouteParameter.Optional }
          );
          config.Routes.MapHttpRoute(
              name: "ActionApi",
              routeTemplate: "api/{controller}/{action}/{id}",
              defaults: new { action="get", id = RouteParameter.Optional }
          );
  </code></pre>
  
  <p>the url for each one of the methods is:</p>
  
  <pre><code>http://localhost:14775/api/shekem/ProductsInfo for the ProductsInfo method
  http://localhost:14775/api/shekem/ProductsTypes for the ProductsTypes method
  </code></pre>
  
  <p>however, i keep getting this error:</p>
  
  <pre><code>{"Message":"An error has occurred.","ExceptionMessage":"Multiple actions were found that match the request: \r\nProductsTypes on type ShekemService.Controllers.ShekemController\r\nProductsInfo on type ShekemService.Controllers.ShekemController","ExceptionType":"System.InvalidOperationException","StackTrace":"   at System.Web.Http.Controllers.ApiControllerActionSelector.ActionSelectorCacheItem.SelectAction(HttpControllerContext controllerContext)\r\n   at System.Web.Http.Controllers.ApiControllerActionSelector.SelectAction(HttpControllerContext controllerContext)\r\n   at System.Web.Http.ApiController.ExecuteAsync(HttpControllerContext controllerContext, CancellationToken cancellationToken)\r\n   at System.Web.Http.Dispatcher.HttpControllerDispatcher.&lt;SendAsync&gt;d__1.MoveNext()"}
  </code></pre>