public CountryService(IAssistenceInfoRepository assistanceRepository, ICountryRepository countryRepository, ICountryInfoRepository countryInfoRepository) { this.assistanceRepository = assistanceRepository; this.countryRepository = countryRepository; this.countryInfoRepository = countryInfoRepository; }
public CountryRepository(IConnectionStringProvider provider, IAssistenceInfoRepository assistenceInfoRepository, ICountryInfoRepository countryInfoRepository) { connection = new SqlConnectionWrapper(provider.Value); this.assistenceInfoRepository = assistenceInfoRepository; this.countryInfoRepository = countryInfoRepository; }