public async Task <NutrientListResponse> ListNutrientsAsync(NutrientListRequest nutrientListRequest) { var inValue = new NutrientListRequest1 { NutrientListRequest = nutrientListRequest }; var retVal = await((IFoodQueryService)this).ListNutrientsAsync(inValue); return(retVal.NutrientListResponse); }
public NutrientListResponse ListNutrients(NutrientListRequest nutrientListRequest) { var inValue = new NutrientListRequest1 { NutrientListRequest = nutrientListRequest }; var retVal = ((IFoodQueryService)this).ListNutrients(inValue); return(retVal.NutrientListResponse); }
Task <NutrientListResponse1> IFoodQueryService.ListNutrientsAsync(NutrientListRequest1 request) => Channel.ListNutrientsAsync(request);
NutrientListResponse1 IFoodQueryService.ListNutrients(NutrientListRequest1 request) => Channel.ListNutrients(request);