public OrderMessageConsumer(IModel channel, ISmsNotifier notifier) : base(channel) { _notifier = notifier; _channel = channel; Received += OrderMessageConsumer_Received; }
public SmsNotificationSubscriber(ISmsNotifier smsNotifier, IEventBus eventBus) { _smsNotifier = smsNotifier; _eventBus = eventBus; }
public static bool NotifySms(this ISmsNotifier obj) { var sender = new SendSMS(); return(sender.Send(obj)); }
public GradeService(IGradeRepository repository, ILogger <GradeService> logger, ISmsNotifier notifier) : base( repository, logger) { this.notifier = notifier; }