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