public WebhookPostController(IWebhookPostRepository repository, IMapper mapper, LinkGenerator linkGenerator,
                              ILogger <WebhookPostController> logger)
 {
     _repository    = repository;
     _mapper        = mapper;
     _linkGenerator = linkGenerator;
     _logger        = logger;
 }
Пример #2
0
 public NotificationService(IEmailRepository emailRepository, ISMSRepository smsRepository, IWebhookPostRepository webHookPostRepository)
 {
     _emailRepository       = emailRepository;
     _smsRepository         = smsRepository;
     _webHookPostRepository = webHookPostRepository;
 }