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);
        }
Esempio n. 2
0
 public List <WareWcfDto> GetWareList(WareLoadParams param)
 {
     return(client.GetWareList(param).ToList());
 }
Esempio n. 3
0
 public List <WareWcfDto> GetWareList(WareLoadParams param)
 {
     return(cfg.Resolve <IOperationService>().GetWareList(param));
 }
Esempio n. 4
0
 ObservableCollection <WareWcfDto> LoadWareList(WareLoadParams param)
 {
     return(client.GetWareList(param).ToObservableCollection());
 }