title: Multiple IQueryable in one controller?
body: <p>I have a controller for my entire database, the code is below:</p>
  
  <pre><code>public class YogaController : DbDataController&lt;Yoga.Models.YOGAEntities&gt;
  {
      public YogaController()
      {
      }
  
      public IQueryable&lt;Yoga.Models.Action&gt; GetActions(int BugId)
  //GetActions retrieves "actions" table from the db, not Actions in MVC term 
      {
          return DbContext.Actions.Where(x =&gt; x.FK_BugsID == BugId);
      }
      public IQueryable&lt;Yoga.Models.Label&gt; GetRequiredLabels()
      {
          return DbContext.Labels.Where(x =&gt; x.IsRequired == true);
      }
      public IQueryable&lt;Yoga.Models.Role&gt; GetRoles()
      {
          return DbContext.Roles;
      }
      public IQueryable&lt;Role&gt; GetRoles2() //TODO: finish this
      {
          return DbContext.Roles.Where(x =&gt; x.RoleID == 1);
      }
      public IQueryable&lt;Tag&gt; GetTags(int actionid)
      {
          return DbContext.Tags.Where(x =&gt; x.J_Tags.Any(y =&gt; y.FK_ActionID == actionid));
      }
  }
  </code></pre>
  
  <p>As you can see I have multiple IQueryable in one controller, each querying a different table. Is it something that's forbidden? Because when I go to <code>localhost/api/Yoga/GetActions</code> or <code>localhost/api/Yoga/GetRequiredLabels</code> I get the error message: </p>
  
  <pre><code>Multiple actions were found that match the request: 
   System.Linq.IQueryable`1[Yoga.Models.Label] GetRequiredLabels() on type Yoga.Controllers.YogaController
   System.Linq.IQueryable`1[Yoga.Models.Role] GetRoles() on type Yoga.Controllers.YogaController
   System.Linq.IQueryable`1[Yoga.Models.Role] GetRoles2() on type Yoga.Controllers.YogaController
  </code></pre>
  
  <p>When I disable all but one IQueryable, the results came out fine. </p>
  
  <p>I have googled for similar issues and checked my routing settings, there are no conflicts in controller path and names.</p>
  
  <p>My Routes (default generated):</p>
  
  <pre><code>    public static void RegisterRoutes(RouteCollection routes)
      {
          routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
          routes.MapHttpRoute(
              name: "DefaultApi",
              routeTemplate: "api/{controller}/{id}",
              defaults: new { id = RouteParameter.Optional }
          );
          //routes.MapRoute(
          //    name: "Default",
          //    url: "{controller}/{action}/{id}",
          //    defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
          );
      }
  </code></pre>
  
  <p>Any ideas? </p>