示例#1
0
 public NotificationsService
 (
     ITelegramNotificationService telegramNotificationService
 )
 {
     _telegramNotificationService = telegramNotificationService ?? throw new ArgumentNullException(nameof(telegramNotificationService));
 }
示例#2
0
 public NotificationJob(IRozkladRepository repository, ITelegramNotificationService telegramNotifications, ILogger <NotificationJob> logger)
 {
     _repository            = repository;
     _telegramNotifications = telegramNotifications;
     _logger = logger;
 }
 public ResultHandlingService(ITelegramNotificationService notificationsService)
 {
     _notificationsService = notificationsService;
 }