© 2026 Hedgehog Software, LLC
var notificationModels = await _repository .Query() .Where(model => DateTimeOffset.Now <= model.ExpiresAt) .Where(model => model.To .Contains(operatorName)) .Where(model => model.Id <= arguments.LastNotificationId) .OrderByDescending(model => model.Id) .Limit(arguments.TotalCount) .ToList();
LastNotificationId
.Where(model => model.Id <= arguments.LastNotificationId)