diff --git a/Back/skydiveLogs-api.Infrastructure/JumpRepository.cs b/Back/skydiveLogs-api.Infrastructure/JumpRepository.cs index 8c4c3a7..dda946e 100644 --- a/Back/skydiveLogs-api.Infrastructure/JumpRepository.cs +++ b/Back/skydiveLogs-api.Infrastructure/JumpRepository.cs @@ -48,9 +48,7 @@ namespace skydiveLogs_api.Infrastructure .Include(x => x.DropZone) .Include(x => x.Gear) .Include(x => x.JumpType) - .Query() - .Where(j => j.User.Id == user.Id) - .ToList(); + .Find(j => j.User.Id == user.Id); } public IEnumerable GetAll()