public async Task <FoodsListResponse> SearchByGroupAsync(FoodsByGroupRequest foodsByGroupRequest) { var inValue = new FoodsByGroupRequest1 { FoodsByGroupRequest = foodsByGroupRequest }; var retVal = await((IFoodQueryService)this).SearchByGroupAsync(inValue); return(retVal.FoodsListResponse); }
public FoodsListResponse SearchByGroup(FoodsByGroupRequest foodsByGroupRequest) { var inValue = new FoodsByGroupRequest1 { FoodsByGroupRequest = foodsByGroupRequest }; var retVal = ((IFoodQueryService)this).SearchByGroup(inValue); return(retVal.FoodsListResponse); }