public CountryRegionService(ICountryRegionService Provider = null) { if (Provider != null) { this.Provider = Provider; } else { var defaultApiSettings = new DefaultApiSettings(); if(defaultApiSettings.IsEnterprise) this.Provider = new SqlCountryRegionProvider(defaultApiSettings); else this.Provider = new ODataCountryRegionProvider(defaultApiSettings); } }
public AddressValidator( IAddressRepository arg0, ICountryRegionService arg1, IAccountRepository arg2, ICompanyRepository arg3, IOrganizationPermissionService arg4 ) : base() { field0 = arg0; field1 = arg1; field2 = arg2; field3 = arg3; field4 = arg4; }
public TicketController( IContinentService continentService, ICountryRegionService countryRegionService, IStateProvinceService stateProvinceService, IAreaService areaService, ITourService tourService ) { _continentService = continentService; _countryRegionService = countryRegionService; _stateProvinceService = stateProvinceService; _areaService = areaService; _tourService = tourService; }
public CountryRegionController( ApiSettings settings, ILogger <CountryRegionController> logger, ITransactionCoordinator transactionCoordinator, ICountryRegionService countryRegionService, IApiCountryRegionModelMapper countryRegionModelMapper ) : base(settings, logger, transactionCoordinator, countryRegionService, countryRegionModelMapper) { this.BulkInsertLimit = 250; this.MaxLimit = 1000; this.DefaultLimit = 250; }
public CountryRegionService(ICountryRegionService Provider = null) { if (Provider != null) { this.Provider = Provider; } else { var defaultApiSettings = new DefaultApiSettings(); if (defaultApiSettings.IsEnterprise) { this.Provider = new SqlCountryRegionProvider(defaultApiSettings); } else { this.Provider = new ODataCountryRegionProvider(defaultApiSettings); } } }
public CountryRegionsController(IErrorService errorService , ICountryRegionService countryRegionService) : base(errorService) { _countryRegionService = countryRegionService; }
public CountryRegionController(ICountryRegionService countryRegionService) { this._countryRegionService = countryRegionService; }