public CountrySpecificCustomerService(IUnitOfWork unitOfWork, ICountrySpecificCustomerRepository repository , ICountryFactory countryFactory) : base(unitOfWork) { if (repository == null) throw new ArgumentNullException("CountrySpecificCustomerRepository"); if (countryFactory == null) throw new ArgumentNullException("ICountryFactory"); _repository = repository; _countryFactory = countryFactory; }
public CountrySpecificCustomerService(IUnitOfWork unitOfWork, ICountrySpecificCustomerRepository repository , ICountryFactory countryFactory) : base(unitOfWork) { if (repository == null) { throw new ArgumentNullException("CountrySpecificCustomerRepository"); } if (countryFactory == null) { throw new ArgumentNullException("ICountryFactory"); } _repository = repository; _countryFactory = countryFactory; }
public CountrySpecificCustomerService(IUnitOfWork unitOfWork, ICountrySpecificCustomerRepository repository, ICountryFactory factory) : base(unitOfWork) { _repository = repository ?? throw new ArgumentNullException("CountrySpecificCustomer repository"); _countryFactory = factory ?? throw new ArgumentNullException("CountryFactory"); }