Ejemplo n.º 1
0
 public void GetProductInfoList()
 {
     try
     {
         List <ProductInfoView> list = _service.GetProductInfos(new GetProductInfoListRequest()).ProductInfos;
     }
     catch (Exception ex)
     { }
 }
Ejemplo n.º 2
0
        public string GetProductList()
        {
            GetProductInfoListResponse response = _productInfoService.GetProductInfos(new GetProductInfoListRequest());

            if (response.IsSucess == false || response.ProductInfos == null)
            {
                return(JsonHelper.SerializeObject("false:NoData"));
            }
            return(JsonHelper.SerializeObject(response.ProductInfos));
        }