title: ASP:NET Core MVC returns 503
body: <p>I have an ASP.NET Core (MVC) application. I always get a 503 response back from my request. My code looks like that:</p>
  <pre><code>public ActionResult Get([DataSourceRequest] DataSourceRequest request) {
              if (request.Sorts != null &amp;&amp; request.Sorts.Any()) {
                  ModifySort&lt;Project&gt;(request.Sorts);
              }
              var result = ctx.Project.Include(x =&gt; x.Customer).ToDataSourceResult(request);
  
              return Ok(result);
  }
  </code></pre>
  <p>If I debug through my code it look good it goes through everything without throwing an exception it also goes to the result but I still get the 503 response from it.
  It is only for that call. Other Functions work even in the same Controller.</p>