コード例 #1
0
        public Task <GetElectoralListOutputDTO> GetElectoralListQueryAsync(BigInteger electionId, BlockParameter blockParameter = null)
        {
            var getElectoralListFunction = new GetElectoralListFunction();

            getElectoralListFunction.ElectionId = electionId;

            return(ContractHandler.QueryDeserializingToObjectAsync <GetElectoralListFunction, GetElectoralListOutputDTO>(getElectoralListFunction, blockParameter));
        }
コード例 #2
0
 public Task <GetElectoralListOutputDTO> GetElectoralListQueryAsync(GetElectoralListFunction getElectoralListFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryDeserializingToObjectAsync <GetElectoralListFunction, GetElectoralListOutputDTO>(getElectoralListFunction, blockParameter));
 }