public GetPollResultTest(IServiceFactory serviceFactory, ILogger logger) { _votingSystemService = serviceFactory.CreateVotingSystemService(); _transactionService = serviceFactory.CreateTransactionService(); _assetExchangeService = serviceFactory.CreateAssetExchangeService(); _monetarySystemService = serviceFactory.CreateMonetarySystemService(); _logger = logger; _getPolls = _votingSystemService.GetPolls(includeFinished: true).Result; }
public GetPollTest(IVotingSystemService votingSystemService, ILogger logger) { _votingSystemService = votingSystemService; _logger = logger; _getPollsReply = _votingSystemService.GetPolls(includeFinished: true).Result; }