Beispiel #1
0
 public SendEmailWhenTaskCancelledDomainEventHandler(ISMTPMailService smtpMailService,
                                                     ICustomAttributeService attributeService,
                                                     IRepositoryInt <PatientClinicalEvent> patientClinicalEventRepository)
 {
     _smtpMailService  = smtpMailService ?? throw new ArgumentNullException(nameof(smtpMailService));
     _attributeService = attributeService ?? throw new ArgumentNullException(nameof(attributeService));
     _patientClinicalEventRepository = patientClinicalEventRepository ?? throw new ArgumentNullException(nameof(patientClinicalEventRepository));
 }
 public SendEmailWhenTaskAttendedToDomainEventHandler(ISMTPMailService smtpMailService)
 {
     _smtpMailService = smtpMailService ?? throw new ArgumentNullException(nameof(smtpMailService));
 }