From e978aa17f87df590c7fce879c80e8362e0cf275c Mon Sep 17 00:00:00 2001 From: Khwezi Mngoma Date: Fri, 15 May 2026 23:52:38 +0200 Subject: [PATCH] Added an empty constructor to ProcessEmailNotificationEvent --- .../Shop/Notifications/Events/ProcessEmailNotificationsEvent.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LiteCharms.Features/Shop/Notifications/Events/ProcessEmailNotificationsEvent.cs b/LiteCharms.Features/Shop/Notifications/Events/ProcessEmailNotificationsEvent.cs index d496ab9..366332f 100644 --- a/LiteCharms.Features/Shop/Notifications/Events/ProcessEmailNotificationsEvent.cs +++ b/LiteCharms.Features/Shop/Notifications/Events/ProcessEmailNotificationsEvent.cs @@ -8,6 +8,8 @@ public class ProcessEmailNotificationsEvent : EventBase, IEvent public int MaxRecords { get; set; } + public ProcessEmailNotificationsEvent() { MaxRecords = 1000; } + private ProcessEmailNotificationsEvent(int maxRecords = 1000) => MaxRecords = maxRecords; public static ProcessEmailNotificationsEvent Create(int maxRecords = 1000) => new(maxRecords); -- 2.47.3