Exemplo n.º 1
0
 public CityService(ICityRepository cityRepository, IOwnerLocationRepository ownerLocationRepository, IUnitOfWork unitOfWork, IProvinceRepository provinceRepository)
 {
     _cityRepository          = cityRepository;
     _ownerLocationRepository = ownerLocationRepository;
     _unitOfWork         = unitOfWork;
     _provinceRepository = provinceRepository;
 }
 public OwnerProfileService(IUnitOfWork unitOfWork, IPetOwnerRepository petOwnerRepository, IOwnerLocationRepository ownerLocationRepository,
                            IOwnerProfileRepository ownerProfileRepository, IProvinceRepository provinceRepository, ICityRepository cityRepository, IUserRepository userRepository)
 {
     _unitOfWork              = unitOfWork;
     _petOwnerRepository      = petOwnerRepository;
     _ownerLocationRepository = ownerLocationRepository;
     _ownerProfileRepository  = ownerProfileRepository;
     _provinceRepository      = provinceRepository;
     _cityRepository          = cityRepository;
     _userRepository          = userRepository;
 }
Exemplo n.º 3
0
 public OwnerLocationService(IUnitOfWork unitOfWork, IOwnerLocationRepository ownerLocationRepository)
 {
     _unitOfWork = unitOfWork;
     _ownerLocationRepository = ownerLocationRepository;
 }