Exemplo n.º 1
0
 public AddressServiceImpl(IRepository <Address.Domain.Address> addressRepository,
                           IRepository <Province> provinceRepository, IAddressUnitOfWork unitOfWork)
 {
     _addressRepository  = addressRepository;
     _provinceRepository = provinceRepository;
     _unitOfWork         = unitOfWork;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AddressService"/> class.
 /// </summary>
 /// <param name="unitOfWork">The unit of work.</param>
 public AddressService(IAddressUnitOfWork unitOfWork)
 {
     _unitOfWork = unitOfWork;
 }
Exemplo n.º 3
0
 public ProvinceServiceImpl(IAddressUnitOfWork unitOfWork)
 {
     _unitOfWork = unitOfWork;
 }