public CountryService(IAssistenceInfoRepository assistanceRepository, ICountryRepository countryRepository, ICountryInfoRepository countryInfoRepository) { this.assistanceRepository = assistanceRepository; this.countryRepository = countryRepository; this.countryInfoRepository = countryInfoRepository; }
public PostalCodesController(ILogger <PostalCodesController> logger, ICountryInfoRepository repository, IUrlHelper urlHelper) { _logger = logger; _repository = repository; _urlHelper = urlHelper; }
public CountriesController(ILogger <CountriesController> logger, ICountryInfoRepository repository, IUrlHelper urlHelper, IPropertyMappingService propertyMappingService, ITypeHelperService typeHelperService) { _logger = logger; _repository = repository; _urlHelper = urlHelper; _propertyMappingService = propertyMappingService; _typeHelperService = typeHelperService; }
public CountryRepository(IConnectionStringProvider provider, IAssistenceInfoRepository assistenceInfoRepository, ICountryInfoRepository countryInfoRepository) { connection = new SqlConnectionWrapper(provider.Value); this.assistenceInfoRepository = assistenceInfoRepository; this.countryInfoRepository = countryInfoRepository; }
public CountriesController(ICountryInfoRepository countryInfoRepository) { _countryInfoRepository = countryInfoRepository ?? throw new ArgumentNullException(nameof(countryInfoRepository)); }
public LanguagesController(ILogger <LanguagesController> logger, IMailServices mailServices, ICountryInfoRepository countryInfoRepository) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _mailServices = mailServices ?? throw new ArgumentNullException(nameof(mailServices)); _countryInfoRepository = countryInfoRepository ?? throw new ArgumentNullException(nameof(countryInfoRepository)); }
public CountryInfoController(ICountryInfoRepository repository) { _repository = repository; }