Exemple #1
0
 public SearchCountryByIdUseCase(ILocalCountryRepository localCountryRepository)
 {
     _localCountryRepository = localCountryRepository ?? throw new ArgumentNullException(nameof(localCountryRepository));
 }
 public SearchCountryByAlpha3CodeUseCase(ILocalCountryRepository localCountryRepository, IRemoteCountryRepository remoteCountryRepository) :
     base(localCountryRepository, remoteCountryRepository)
 {
 }
Exemple #3
0
 protected SearchCountryUseCase(ILocalCountryRepository localCountryRepository, IRemoteCountryRepository remoteCountryRepository)
 {
     _localCountryRepository  = localCountryRepository ?? throw new ArgumentNullException(nameof(localCountryRepository));
     _remoteCountryRepository = remoteCountryRepository ?? throw new ArgumentNullException(nameof(remoteCountryRepository));
 }