public MessageResult GetGoodsListByTypeId(int typeId) { List <GoodsInfoModel> rsult = goodsBLL.GetGoodsListByTypeId(typeId); if (rsult != null) { return(MessageResult.Success(rsult)); } else { return(MessageResult.Fail()); } }