public PatientService( IPatientStorage patientStorage, IIlnessStorage ilnessStorage, IMapper mapper) { _mapper = mapper; _ilnessStorage = ilnessStorage; _patientStorage = patientStorage; }
public AccountService( IAccountStorage accountStorage, IDoctorStorage doctorStorage, IPatientStorage patientStorage, IClinicStorage clinicStorage, IMapper mapper) { _mapper = mapper; _accountStorage = accountStorage; _clinicStorage = clinicStorage; _doctorStorage = doctorStorage; _patientStorage = patientStorage; }