public WebhookSubscriptionController(
     IWebhookSubscriptionAppService webhookSubscriptionAppService,
     IWebhookEventAppService webhookEventAppService
     )
 {
     _webhookSubscriptionAppService = webhookSubscriptionAppService;
     _webhookEventAppService        = webhookEventAppService;
 }
示例#2
0
 public WebhookSendAttemptAppService(
     IWebhookSendAttemptStore webhookSendAttemptStore,
     IBackgroundJobManager backgroundJobManager,
     IWebhookEventAppService webhookEventAppService,
     IWebhookSubscriptionAppService webhookSubscriptionAppService,
     IRepository <WebhookSubscriptionInfo, Guid> subscriptionRepository
     )
 {
     _webhookSendAttemptStore       = webhookSendAttemptStore;
     _backgroundJobManager          = backgroundJobManager;
     _webhookEventAppService        = webhookEventAppService;
     _webhookSubscriptionAppService = webhookSubscriptionAppService;
     _subscriptionRepository        = subscriptionRepository;
 }