public PetProfileService(IUnitOfWork unitOfWork, IPetTreatmentRepository petTreatmentRepository, IPetIllnessRepository petIllnessRepository, IPetOwnerRepository petOwnerRepository, IPetProfileRepository petProfileRepository, IProvinceRepository provinceRepository, ICityRepository cityRepository) { _unitOfWork = unitOfWork; _petTreatmentRepository = petTreatmentRepository; _petIllnessRepository = petIllnessRepository; _petOwnerRepository = petOwnerRepository; _petProfileRepository = petProfileRepository; _provinceRepository = provinceRepository; _cityRepository = cityRepository; }
public PetTreatmentService(IUnitOfWork unitOfWork, IPetTreatmentRepository petTreatmentRepository) { _unitOfWork = unitOfWork; _petTreatmentRepository = petTreatmentRepository; }
public TreatmentService(ITreatmentRepository treatmentRepository, IPetTreatmentRepository petTreatmentRepository, IUnitOfWork unitOfWork) { _treatmentRepository = treatmentRepository; _petTreatmentRepository = petTreatmentRepository; _unitOfWork = unitOfWork; }