Exemple #1
0
 public TourService(IUnitOfWork unitOfWork
                    , ITourRepository tourRepo
                    , ITourAttributeValueRepository tourAttributeValueRepository
                    , ITourAttributeRepository tourAttributeRepository
                    , ICountryRegionRepository countryRegionRepository
                    , IStateProvinceRepository stateProvinceRepository) : base(unitOfWork, tourRepo)
 {
     _tourRepo = tourRepo;
     _tourAttributeRepository      = tourAttributeRepository;
     _tourAttributeValueRepository = tourAttributeValueRepository;
     _countryRegionRepository      = countryRegionRepository;
     _stateProvinceRepository      = stateProvinceRepository;
 }
Exemple #2
0
 public CountryRegionService(
     ILogger <ICountryRegionRepository> logger,
     ICountryRegionRepository countryRegionRepository,
     IApiCountryRegionRequestModelValidator countryRegionModelValidator,
     IBOLCountryRegionMapper bolcountryRegionMapper,
     IDALCountryRegionMapper dalcountryRegionMapper,
     IBOLStateProvinceMapper bolStateProvinceMapper,
     IDALStateProvinceMapper dalStateProvinceMapper)
     : base(logger,
            countryRegionRepository,
            countryRegionModelValidator,
            bolcountryRegionMapper,
            dalcountryRegionMapper,
            bolStateProvinceMapper,
            dalStateProvinceMapper)
 {
 }
 public AbstractCountryRegionService(
     ILogger logger,
     ICountryRegionRepository countryRegionRepository,
     IApiCountryRegionRequestModelValidator countryRegionModelValidator,
     IBOLCountryRegionMapper bolCountryRegionMapper,
     IDALCountryRegionMapper dalCountryRegionMapper,
     IBOLStateProvinceMapper bolStateProvinceMapper,
     IDALStateProvinceMapper dalStateProvinceMapper)
     : base()
 {
     this.countryRegionRepository     = countryRegionRepository;
     this.countryRegionModelValidator = countryRegionModelValidator;
     this.bolCountryRegionMapper      = bolCountryRegionMapper;
     this.dalCountryRegionMapper      = dalCountryRegionMapper;
     this.bolStateProvinceMapper      = bolStateProvinceMapper;
     this.dalStateProvinceMapper      = dalStateProvinceMapper;
     this.logger = logger;
 }
Exemple #4
0
 public CountryRegionController(IAccountRepository accountRepository, ICountryRegionRepository countryRegionRepository, ILogger <CountryRegionRepository> logger)
 {
     _accountRepository       = accountRepository;
     _countryRegionRepository = countryRegionRepository;
     _logger = logger;
 }
Exemple #5
0
 public CountryRegionService(ICountryRegionRepository repository)
 {
     _repository = repository;
 }
 public AbstractApiCountryRegionRequestModelValidator(ICountryRegionRepository countryRegionRepository)
 {
     this.countryRegionRepository = countryRegionRepository;
 }
Exemple #7
0
 static CountryRegionService()
 {
     repository = new CountryRegionRepository();
 }
 public ApiCountryRegionRequestModelValidator(ICountryRegionRepository countryRegionRepository)
     : base(countryRegionRepository)
 {
 }
Exemple #9
0
 public CountryRegionService(IUnitOfWork unitOfWork, ICountryRegionRepository countryRegionRepo) : base(unitOfWork, countryRegionRepo)
 {
     _countryRegionRepo = countryRegionRepo;
 }