title: Is it possible to use ODataQueryOptions with DTO's?
body: <p><code>ContentType</code>  --> EF model</p>
  
  <p><code>ContentTypes</code> --> DTO</p>
  
  <p>In my OData controller:</p>
  
  <pre><code>   public Task&lt;IQueryable&lt;ContentTypes&gt;&gt; Get(ODataQueryOptions&lt;ContentTypes&gt; options) 
     {
          var result = options.ApplyTo(_repository.Query().Get()
              .Where(u =&gt; u.UserId == userId)
              .OrderBy(o =&gt; o.Description))
              .Cast&lt;ContentTypes&gt;();
  
          return result;
     }
  </code></pre>
  
  <p>I get an error 500 when trying to apply the <code>ODataQueryOptions</code>.  Since the class already inherits <code>ODataController</code> do I even need to do the<code>options.ApplyTo(...)</code>?</p>