public Task <GetResultOutputDTO> GetResultQueryAsync(BigInteger electionId, BlockParameter blockParameter = null)
        {
            var getResultFunction = new GetResultFunction();

            getResultFunction.ElectionId = electionId;

            return(ContractHandler.QueryDeserializingToObjectAsync <GetResultFunction, GetResultOutputDTO>(getResultFunction, blockParameter));
        }
 public Task <GetResultOutputDTO> GetResultQueryAsync(GetResultFunction getResultFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryDeserializingToObjectAsync <GetResultFunction, GetResultOutputDTO>(getResultFunction, blockParameter));
 }