Пример #1
0
        public RendezVousController(IRendezVousAppServices rendezVousApiApplicationServices)
        {
            if (rendezVousApiApplicationServices == null)
            {
                throw new ArgumentNullException("rendezVousApiApplicationServices");
            }

            _rendezVousApiApplicationServices = rendezVousApiApplicationServices;
        }
Пример #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;
 }