|
|
@ -50,6 +50,8 @@ namespace TodoApi.Controllers
|
|
|
|
q = q.Take(Math.Min(t, MaxResultCount));
|
|
|
|
q = q.Take(Math.Min(t, MaxResultCount));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
q = q.OrderBy(e => e.CreatedAt);
|
|
|
|
|
|
|
|
|
|
|
|
var result = new
|
|
|
|
var result = new
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Items = await q.ToArrayAsync(),
|
|
|
|
Items = await q.ToArrayAsync(),
|
|
|
|