public ISyncWSResult findProducts(ISyncWSParameter dataParameter) { productSearchResult res = new productSearchResult(); ArrayList list = ReaderHelper.MakeTestData(10, new product()); res.list = list.ToArray(typeof(product)) as product[]; res.totalHits = res.list.GetLength(0); return((searchResult)res); }
public ISyncWSResult find(ISyncWSParameter dataParameter) { warehouseSearchResult res = new warehouseSearchResult(); ArrayList list = ReaderHelper.MakeTestData(10, new warehouse()); res.list = list.ToArray(typeof(warehouse)) as warehouse[]; res.totalHits = res.list.GetLength(0); return((searchResult)res); }