mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-07 04:18:38 +00:00
Remove pointless .asEnumerable()
This commit is contained in:
parent
a7443c16a0
commit
abfb1c4cd8
1 changed files with 0 additions and 1 deletions
|
@ -175,7 +175,6 @@ namespace LBPUnion.ProjectLighthouse.Controllers
|
|||
IEnumerable<Review> reviews = this.database.Reviews.Where(r => r.Reviewer.Username == username && r.Slot.GameVersion <= gameVersion)
|
||||
.Include(r => r.Reviewer)
|
||||
.Include(r => r.Slot)
|
||||
.AsEnumerable() // performance?
|
||||
.OrderByDescending(r => r.Timestamp)
|
||||
.Skip(pageStart - 1)
|
||||
.Take(pageSize);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue