예제 #1
0
        public async Task <NutrientListResponse> ListNutrientsAsync(NutrientListRequest nutrientListRequest)
        {
            var inValue = new NutrientListRequest1 {
                NutrientListRequest = nutrientListRequest
            };
            var retVal = await((IFoodQueryService)this).ListNutrientsAsync(inValue);

            return(retVal.NutrientListResponse);
        }
예제 #2
0
        public NutrientListResponse ListNutrients(NutrientListRequest nutrientListRequest)
        {
            var inValue = new NutrientListRequest1 {
                NutrientListRequest = nutrientListRequest
            };
            var retVal = ((IFoodQueryService)this).ListNutrients(inValue);

            return(retVal.NutrientListResponse);
        }
예제 #3
0
 Task <NutrientListResponse1> IFoodQueryService.ListNutrientsAsync(NutrientListRequest1 request) => Channel.ListNutrientsAsync(request);
예제 #4
0
 NutrientListResponse1 IFoodQueryService.ListNutrients(NutrientListRequest1 request) => Channel.ListNutrients(request);