public ApexnetPushNotificationJob(ApexnetPushNotification pushNotification) { this.pushNotification = pushNotification; }
//// ReSharper disable MemberCanBePrivate.Global public static void _Run(ApexnetPushNotification notification) { var sender = new ApexnetPushNotificationSender(); sender.Send(notification); }
private static void Send(ApexnetPushNotification pushNotification, IJobsManager manager) { var job = new ApexnetPushNotificationJob(pushNotification); manager.Enqueue <Enqueued>(job); }