/// <summary> /// constructor /// </summary> public ReminderController( IReminderProcessor reminderProcessor, IReminderHistoryProcessor reminderHistoryProcessor ) { this.reminderProcessor = reminderProcessor; this.reminderHistoryProcessor = reminderHistoryProcessor; }
public ReminderService( IAuthorizationProcessor authorizationProcessor, IReminderProcessor reminderProcessor, IReminderHistoryProcessor reminderHistoryProcessor, ILogManager logManager ) { this.authorizationProcessor = authorizationProcessor; this.reminderProcessor = reminderProcessor; this.reminderHistoryProcessor = reminderHistoryProcessor; logger = logManager.GetLogger(typeof(ReminderService)); }