Skip to content

Commit 856dc5b

Browse files
author
Adrian Hall
committed
(#173) remove commented lines.
1 parent 841ac86 commit 856dc5b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/CommunityToolkit.Datasync.Server/Controllers/TableController.Query.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ public virtual async Task<IActionResult> QueryAsync(CancellationToken cancellati
7373
await ExecuteQueryWithClientEvaluationAsync(dataset, async ds =>
7474
{
7575
IQueryable query = queryOptions.ApplyTo(ds, querySettings);
76-
// results = query.Cast<object>().ToList();
7776
results = await Repository.ToListAsync(queryOptions.ApplyTo(ds, querySettings), cancellationToken).ConfigureAwait(false);
7877

7978
// If the request results in an ISelectExpandWrapper, then $select was used and
@@ -95,7 +94,6 @@ await ExecuteQueryWithClientEvaluationAsync(dataset, async ds =>
9594
await ExecuteQueryWithClientEvaluationAsync(dataset, async ds =>
9695
{
9796
IQueryable<TEntity> q = (IQueryable<TEntity>)(queryOptions.Filter?.ApplyTo(ds, new ODataQuerySettings()) ?? ds);
98-
// count = q.Cast<object>().Count();
9997
count = await CountAsync(q, cancellationToken).ConfigureAwait(false);
10098
});
10199

0 commit comments

Comments
 (0)