public NotificationService(IQueueService queueService, IAuthControlService authControl, INotificationSender notificationSender) { _queueService = queueService; _authControl = authControl; _notificationSender = notificationSender; _consumeTimer = new System.Timers.Timer(Constants.RMQ_ConsumerRefreshTime); _consumeTimer.Elapsed += new ElapsedEventHandler(_timer_Tick_Mail); _consumeTimer.Elapsed += new ElapsedEventHandler(_timer_Tick_Sms); _consumeTimer.Enabled = true; _consumeTimer.Start(); }
public NotificationController(INotificationService notificationService, IAuthControlService authService) { _notificationService = notificationService; _authControlService = authService; }
public HybridCashManager(IAuthControlService sQliteAuth, IRepository <ProjectPermission> repo) { _sQliteAuth = sQliteAuth; _repo = repo; projectPermissions = repo.Get().ToList(); }