public async Task <FoodsListResponse> SearchAsync(FoodsSearchRequest foodsSearchRequest) { var inValue = new FoodsSearchRequest1 { FoodsSearchRequest = foodsSearchRequest }; var retVal = await((IFoodQueryService)this).SearchAsync(inValue); return(retVal.FoodsListResponse); }
public FoodsListResponse Search(FoodsSearchRequest foodsSearchRequest) { var inValue = new FoodsSearchRequest1 { FoodsSearchRequest = foodsSearchRequest }; var retVal = ((IFoodQueryService)this).Search(inValue); return(retVal.FoodsListResponse); }
Task <FoodsListResponse1> IFoodQueryService.SearchAsync(FoodsSearchRequest1 request) => Channel.SearchAsync(request);
FoodsListResponse1 IFoodQueryService.Search(FoodsSearchRequest1 request) => Channel.Search(request);