Пример #1
0
 public CountryService(IAssistenceInfoRepository assistanceRepository,
                       ICountryRepository countryRepository,
                       ICountryInfoRepository countryInfoRepository)
 {
     this.assistanceRepository  = assistanceRepository;
     this.countryRepository     = countryRepository;
     this.countryInfoRepository = countryInfoRepository;
 }
Пример #2
0
 public CountryRepository(IConnectionStringProvider provider, IAssistenceInfoRepository assistenceInfoRepository, ICountryInfoRepository countryInfoRepository)
 {
     connection = new SqlConnectionWrapper(provider.Value);
     this.assistenceInfoRepository = assistenceInfoRepository;
     this.countryInfoRepository    = countryInfoRepository;
 }