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);