예제 #1
0
        public async Task <FoodsListResponse> SearchByNameAsync(FoodsByNameRequest foodsByNameRequest)
        {
            var inValue = new FoodsByNameRequest1 {
                FoodsByNameRequest = foodsByNameRequest
            };
            var retVal = await((IFoodQueryService)this).SearchByNameAsync(inValue);

            return(retVal.FoodsListResponse);
        }
예제 #2
0
        public FoodsListResponse SearchByName(FoodsByNameRequest foodsByNameRequest)
        {
            var inValue = new FoodsByNameRequest1 {
                FoodsByNameRequest = foodsByNameRequest
            };
            var retVal = ((IFoodQueryService)this).SearchByName(inValue);

            return(retVal.FoodsListResponse);
        }