Пример #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);
        }