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