Exemplo n.º 1
0
 public SessionCreator(ApplicationService applicationService, TrainingCreator trainingCreator, TrainerCreator trainerCreator, LocationCreator locationCreator, StudentCreator studentCreator, CompanyCreator companyCreator) : base(applicationService)
 {
     _trainingCreator = trainingCreator ?? throw new ArgumentNullException(nameof(trainingCreator));
     _trainerCreator  = trainerCreator ?? throw new ArgumentNullException(nameof(trainerCreator));
     _locationCreator = locationCreator ?? throw new ArgumentNullException(nameof(locationCreator));
     _studentCreator  = studentCreator ?? throw new ArgumentNullException(nameof(studentCreator));
     _companyCreator  = companyCreator ?? throw new ArgumentNullException(nameof(companyCreator));
 }
Exemplo n.º 2
0
 public ContactCreator(ApplicationService applicationService, CompanyCreator companyCreator) : base(applicationService)
 {
     _companyCreator = companyCreator ?? throw new ArgumentNullException(nameof(companyCreator));
 }