コード例 #1
0
        public Task <GetResultOutputDTO> GetResultQueryAsync(BigInteger electionId, BlockParameter blockParameter = null)
        {
            var getResultFunction = new GetResultFunction();

            getResultFunction.ElectionId = electionId;

            return(ContractHandler.QueryDeserializingToObjectAsync <GetResultFunction, GetResultOutputDTO>(getResultFunction, blockParameter));
        }
コード例 #2
0
 public Task <GetResultOutputDTO> GetResultQueryAsync(GetResultFunction getResultFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryDeserializingToObjectAsync <GetResultFunction, GetResultOutputDTO>(getResultFunction, blockParameter));
 }