Ejemplo n.º 1
0
 public ClinicsApplication(ILogger logger, IIdentifierFactory idFactory, IClinicStorage storage,
                           IPersonsService personsService)
 {
     logger.GuardAgainstNull(nameof(logger));
     idFactory.GuardAgainstNull(nameof(idFactory));
     storage.GuardAgainstNull(nameof(storage));
     personsService.GuardAgainstNull(nameof(personsService));
     this.logger         = logger;
     this.idFactory      = idFactory;
     this.storage        = storage;
     this.personsService = personsService;
 }
Ejemplo n.º 2
0
 public AccountService(
     IAccountStorage accountStorage,
     IDoctorStorage doctorStorage,
     IPatientStorage patientStorage,
     IClinicStorage clinicStorage,
     IMapper mapper)
 {
     _mapper         = mapper;
     _accountStorage = accountStorage;
     _clinicStorage  = clinicStorage;
     _doctorStorage  = doctorStorage;
     _patientStorage = patientStorage;
 }