public NotificationManager(IAssignedMedicamentRepository assignedMedicamentRepository, INotificationRepository notificationRepository, IMedicamentFormRepository medicamentFormRepository, IAssignedMeasuringRepository assignedMeasuringRepository, IMeasuringNotificationRepository measuringNotificationRepository, IOnceRiskFactorNotificationRepository onceRiskFactorNotificationRepository, int startDayFromHour, int endDayFromHour, int reservHoursForAnsver, int minutesCountForNotificationAnswer) { this.assignedMedicamentRepository = assignedMedicamentRepository; this.assignedMeasuringRepository = assignedMeasuringRepository; this.medicamentFormRepository = medicamentFormRepository; this.measuringNotificationRepository = measuringNotificationRepository; this.onceRiskFactorNotificationRepository = onceRiskFactorNotificationRepository; // this.logger = logger; this.notificationRepository = notificationRepository; this.notificationFactory = new NotificationFactory(); this.measuringNotificationFactory = new MeasuringNotificationFactory(); this.startDayFromHour = startDayFromHour; this.endDayFromHour = endDayFromHour; this.reservHoursForAnsver = reservHoursForAnsver; this.minutesCountForNotificationAnswer = minutesCountForNotificationAnswer; this.onceRiskFactorNotificationFactory = new OnceRiskFactorNotificationFactory(); }
public MedicamentController(IAssignedMedicamentRepository assignedMedicamentRepository) { this.assignedMedicamentRepository = assignedMedicamentRepository; }