public async Task <FoodMetadataResponse> GetFoodAsync(FoodMetadataRequest foodMetadataRequest) { var inValue = new FoodMetadataRequest1 { FoodMetadataRequest = foodMetadataRequest }; var retVal = await((IFoodQueryService)this).GetFoodAsync(inValue); return(retVal.FoodMetadataResponse); }
public FoodMetadataResponse GetFood(FoodMetadataRequest foodMetadataRequest) { var inValue = new FoodMetadataRequest1 { FoodMetadataRequest = foodMetadataRequest }; var retVal = ((IFoodQueryService)this).GetFood(inValue); return(retVal.FoodMetadataResponse); }
Task <FoodMetadataResponse1> IFoodQueryService.GetFoodAsync(FoodMetadataRequest1 request) => Channel.GetFoodAsync(request);
FoodMetadataResponse1 IFoodQueryService.GetFood(FoodMetadataRequest1 request) => Channel.GetFood(request);
Task <FoodConversionsResponse1> IFoodQueryService.GetConversionsAsync(FoodMetadataRequest1 request) => Channel.GetConversionsAsync(request);
FoodConversionsResponse1 IFoodQueryService.GetConversions(FoodMetadataRequest1 request) => Channel.GetConversions(request);