Exemplo n.º 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);
        }
Exemplo n.º 2
0
        public FoodsListResponse SearchByName(FoodsByNameRequest foodsByNameRequest)
        {
            var inValue = new FoodsByNameRequest1 {
                FoodsByNameRequest = foodsByNameRequest
            };
            var retVal = ((IFoodQueryService)this).SearchByName(inValue);

            return(retVal.FoodsListResponse);
        }