public CalendrierPraticienController(ICalendrierAppServices calendrierApiApplicationServices, IPraticienApplicationServices praticienApplicationServices)
 {
     if (calendrierApiApplicationServices == null)
     {
         throw new ArgumentNullException("calendrierApiApplicationServices");
     }
     _calendrierApiApplicationServices = calendrierApiApplicationServices;
     if (praticienApplicationServices == null)
     {
         throw new ArgumentNullException("praticienApplicationServices");
     }
     _praticienApplicationServices = praticienApplicationServices;
 }
Exemplo n.º 2
0
 public PatientApiController(IPatientApplicationServices patientApiApplicationServices, ICalendrierAppServices calendrierApiApplicationServices, IRendezVousAppServices rendezVousApiApplicationServices)
 {
     if (patientApiApplicationServices == null)
     {
         throw new ArgumentNullException("patientApiApplicationServices");
     }
     _patientApiApplicationServices = patientApiApplicationServices;
     if (calendrierApiApplicationServices == null)
     {
         throw new ArgumentNullException("calendrierApiApplicationServices");
     }
     _calendrierApiApplicationServices = calendrierApiApplicationServices;
     if (rendezVousApiApplicationServices == null)
     {
         throw new ArgumentNullException("rendezVousApiApplicationServices");
     }
     _rendezVousApiApplicationServices = rendezVousApiApplicationServices;
 }