From 351f53b24ca38fbbd92ec98996b28e0a9ea7d942 Mon Sep 17 00:00:00 2001 From: Berkan Sasmaz Date: Fri, 7 May 2021 02:28:31 +0300 Subject: [PATCH] fix typo --- src/EventHub.Application/Events/EventAppService.cs | 2 +- src/EventHub.Web/Pages/Index.cshtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 })