public BackupControllerViewModel(IEventAggregator eventAggregator, IWindowManager windowManager, IMessageBoxService msgBoxService, ScheduledBackupService scheduledBackupService, SlackService slackService) { EVENT_AGGREGATOR = eventAggregator; EVENT_AGGREGATOR.Subscribe(this); WINDOW_MANAGER = windowManager; MSG_BOX_SERVICE = msgBoxService; SLACK_SERVICE = slackService; m_scheduledBackupService = scheduledBackupService; }
public ScheduledBackupViewModel(ScheduledBackupService backupService) { m_backupService = backupService; }