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); }