Esempio n. 1
0
        public async Task <FoodMetadataResponse> GetFoodAsync(FoodMetadataRequest foodMetadataRequest)
        {
            var inValue = new FoodMetadataRequest1 {
                FoodMetadataRequest = foodMetadataRequest
            };
            var retVal = await((IFoodQueryService)this).GetFoodAsync(inValue);

            return(retVal.FoodMetadataResponse);
        }
Esempio n. 2
0
        public FoodMetadataResponse GetFood(FoodMetadataRequest foodMetadataRequest)
        {
            var inValue = new FoodMetadataRequest1 {
                FoodMetadataRequest = foodMetadataRequest
            };
            var retVal = ((IFoodQueryService)this).GetFood(inValue);

            return(retVal.FoodMetadataResponse);
        }
Esempio n. 3
0
 Task <FoodMetadataResponse1> IFoodQueryService.GetFoodAsync(FoodMetadataRequest1 request) => Channel.GetFoodAsync(request);
Esempio n. 4
0
 FoodMetadataResponse1 IFoodQueryService.GetFood(FoodMetadataRequest1 request) => Channel.GetFood(request);
Esempio n. 5
0
 Task <FoodConversionsResponse1> IFoodQueryService.GetConversionsAsync(FoodMetadataRequest1 request) => Channel.GetConversionsAsync(request);
Esempio n. 6
0
 FoodConversionsResponse1 IFoodQueryService.GetConversions(FoodMetadataRequest1 request) => Channel.GetConversions(request);