public PeerListService( IPeerListRepository repository, IEnumerable <ICryptocoinService> cryptoCoinServices ) { _repository = repository; _cryptoCoinServices = cryptoCoinServices; }
public PeersController(IEnumerable <ICryptocoinService> cryptoCoinServices, IPeerListRepository repository) { _cryptoCoinServices = cryptoCoinServices; _repository = repository; }