Exemplo n.º 1
0
 public PingbackService(
     ILogger <PingbackService> logger,
     IPingbackReceiver pingbackReceiver,
     IRepository <PingbackHistoryEntity> pingbackRepository,
     IRepository <PostEntity> postRepository,
     IMoongladeNotificationClient notificationClient = null) : base(logger)
 {
     _notificationClient = notificationClient;
     _pingbackReceiver   = pingbackReceiver;
     _pingbackRepository = pingbackRepository;
     _postRepository     = postRepository;
 }
Exemplo n.º 2
0
 public PingbackService(
     ILogger <PingbackService> logger,
     EmailService emailService,
     PostService postService,
     IPingbackReceiver pingbackReceiver,
     IRepository <PingbackHistory> pingbackRepository) : base(logger)
 {
     _emailService       = emailService;
     _postService        = postService;
     _pingbackReceiver   = pingbackReceiver;
     _pingbackRepository = pingbackRepository;
 }