public MessageResult CheckGoodsCurCount(ViewSaleGoodsInfoApi viewSaleGoodsInfoApi) { try { var result = stockBLL.CheckGoodsCurCount(viewSaleGoodsInfoApi.ViewSaleGoodsInfoModels, viewSaleGoodsInfoApi.StoreId); return(MessageResult.Success(result, result)); } catch (Exception ex) { return(MessageResult.Fail(ex.Message)); } }