public JObject ApplyQuery(JObject entity, JsonQueryOptions queryOptions)
 {
     return queryOptions.ApplyTo(entity);
 }
 public JArray ApplyQuery(JArray queryable, JsonQueryOptions queryOptions)
 {
     return queryOptions.ApplyTo(queryable);
 }