public MessageResult GetGoodsType(int typeId) { try { var list = gtBLL.GetGoodsType(typeId); return(MessageResult.Success(list)); } catch (Exception ex) { return(MessageResult.Fail(ex.Message)); } }