public NotificationsQueueingController( INotificationManagementService notificationManagementService, INotificationDeliveryService notificationDeliveryService, IProductRetrievalService productRetrievalService) { _notificationDeliveryService = notificationDeliveryService ?? throw new ArgumentNullException(nameof(notificationDeliveryService)); _notificationManagementService = notificationManagementService ?? throw new ArgumentNullException(nameof(notificationManagementService)); _productRetrievalService = productRetrievalService ?? throw new ArgumentNullException(nameof(productRetrievalService)); }
public DoctorController(IIdentityProvider identityProvider, IDoctorRepository doctorRepository, IAppointmentRepository appointmentRepository, IPatientRepository patientRepository, IPatientManagementService patientManagementService, IVisitationManagementService visitationManagementService, ISchedulingService schedulingService, IReferralRepository referralRepository, INotificationManagementService notificationManagementService) { _identityProvider = identityProvider; _doctorRepository = doctorRepository; _appointmentRepository = appointmentRepository; _patientRepository = patientRepository; _patientManagementService = patientManagementService; _visitationManagementService = visitationManagementService; _schedulingService = schedulingService; _referralRepository = referralRepository; _notificationManagementService = notificationManagementService; }
public NotificationDeliveryService( IEmailSender emailSender, ISmsSender smsSender, ILogger <NotificationDeliveryService> logger, INotificationManagementService notificationManagementService, INotificationStatisticsService notificationStatisticsService) { _emailSender = emailSender ?? throw new ArgumentNullException(nameof(emailSender)); _smsSender = smsSender ?? throw new ArgumentNullException(nameof(smsSender)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _notificationManagementService = notificationManagementService ?? throw new ArgumentNullException(nameof(notificationManagementService)); _notificationStatisticsService = notificationStatisticsService ?? throw new ArgumentNullException(nameof(notificationStatisticsService)); }
public StaffController(IPatientRepository patientRepository, IIdentityProvider identityProvider, ISchedulingService schedulingService, IAppointmentRepository appointmentRepository, IStaffRepository staffRepository, IDoctorRepository doctorRepository, IPatientManagementService patientManagementService, IVisitationManagementService visitationManagementService, IAccountRepository accountRepository, IAccountManagementService accountManagementService, INotificationManagementService notificationManagementService) { _patientRepository = patientRepository; _identityProvider = identityProvider; _schedulingService = schedulingService; _appointmentRepository = appointmentRepository; _staffRepository = staffRepository; _doctorRepository = doctorRepository; _patientManagementService = patientManagementService; _accountManagementService = accountManagementService; _notificationManagementService = notificationManagementService; _accountRepository = accountRepository; _visitationManagementService = visitationManagementService; }