示例#1
0
        public async Task <FoodsListResponse> SearchAsync(FoodsSearchRequest foodsSearchRequest)
        {
            var inValue = new FoodsSearchRequest1 {
                FoodsSearchRequest = foodsSearchRequest
            };
            var retVal = await((IFoodQueryService)this).SearchAsync(inValue);

            return(retVal.FoodsListResponse);
        }
示例#2
0
        public FoodsListResponse Search(FoodsSearchRequest foodsSearchRequest)
        {
            var inValue = new FoodsSearchRequest1 {
                FoodsSearchRequest = foodsSearchRequest
            };
            var retVal = ((IFoodQueryService)this).Search(inValue);

            return(retVal.FoodsListResponse);
        }
示例#3
0
 Task <FoodsListResponse1> IFoodQueryService.SearchAsync(FoodsSearchRequest1 request) => Channel.SearchAsync(request);
示例#4
0
 FoodsListResponse1 IFoodQueryService.Search(FoodsSearchRequest1 request) => Channel.Search(request);