public void GetProductInfoList() { try { List <ProductInfoView> list = _service.GetProductInfos(new GetProductInfoListRequest()).ProductInfos; } catch (Exception ex) { } }
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)); }