public List <WareWcfDto> GetWareList(WareLoadParams param) { var wares = CassaService.GetWareList(new QueryParam { Name = param.WareName, Limit = param.LoadLimit, }).Select(x => new WareWcfDto { WareId = x.WareId, Price = x.Price, WareName = x.WareName, }).ToList(); return(wares); }
public List <WareWcfDto> GetWareList(WareLoadParams param) { return(client.GetWareList(param).ToList()); }
public List <WareWcfDto> GetWareList(WareLoadParams param) { return(cfg.Resolve <IOperationService>().GetWareList(param)); }
ObservableCollection <WareWcfDto> LoadWareList(WareLoadParams param) { return(client.GetWareList(param).ToObservableCollection()); }