コード例 #1
0
        public static void TestRateTypeAddUpdate(CuratedRateService.CuratedRateServiceClient client)
        {
            var request = new RateTypeAddUpdateRequest();

            request.RateType                     = new RateType();
            request.RateType.RateTypeId          = 1303640176;
            request.RateType.RateTypeName        = "7090517b-27b6-4ecf-9596-fe35031041cb";
            request.RateType.RateTypeDescription = "05c0b0b8-e615-4f6f-9113-01ac19fa5eea";
            var response = client.RateTypeAddUpdate(request);
        }
コード例 #2
0
        public override async Task <RateTypeAddUpdateResponse> RateTypeAddUpdate(RateTypeAddUpdateRequest request, ServerCallContext context)
        {
            var res = await _executor.ExecuteAsync(new RateTypeAddUpdateQuery
            {
                RateType = request.RateType.ToEntity()
            }).ConfigureAwait(false);

            var returnVal = res;

            var result = new RateTypeAddUpdateResponse
            {
            };

            return(result);
        }