コード例 #1
0
ファイル: FoodDataStorageService.cs プロジェクト: war-man/TSF
        public Task <string> GetDataByIdQueryAsync(BigInteger id, BlockParameter blockParameter = null)
        {
            var getDataByIdFunction = new GetDataByIdFunction();

            getDataByIdFunction.Id = id;

            return(ContractHandler.QueryAsync <GetDataByIdFunction, string>(getDataByIdFunction, blockParameter));
        }
コード例 #2
0
ファイル: FoodDataStorageService.cs プロジェクト: war-man/TSF
 public Task <string> GetDataByIdQueryAsync(GetDataByIdFunction getDataByIdFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <GetDataByIdFunction, string>(getDataByIdFunction, blockParameter));
 }