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