diff --git a/src/EventHub.Application/Events/EventAppService.cs b/src/EventHub.Application/Events/EventAppService.cs index 4c0c1ac..ae5aa17 100644 --- a/src/EventHub.Application/Events/EventAppService.cs +++ b/src/EventHub.Application/Events/EventAppService.cs @@ -95,7 +95,7 @@ namespace EventHub.Events if (input.RegisteredUserId.HasValue) { - var registeredEvent = _eventRegistrationRepository + var registeredEvent = eventRegistrationQueryable .Where(x => x.UserId == input.RegisteredUserId) .Select(s => s.EventId); diff --git a/src/EventHub.Web/Pages/Index.cshtml b/src/EventHub.Web/Pages/Index.cshtml index 2021aa3..89c90da 100644 --- a/src/EventHub.Web/Pages/Index.cshtml +++ b/src/EventHub.Web/Pages/Index.cshtml @@ -101,7 +101,7 @@ @await Component.InvokeAsync(typeof(EventsAreaViewComponent), new { minDate = Clock.Now, - MaxResultCount = 15, + maxResultCount = 15, isPagination = false })