public void Insert(string MsgCode, string VnMsgContent, string EnMsgContent, string VnMsgTitle, string EnMsgTitle, string MsgType, string ActionType, short SubsystemId, string SDesc)
        {
            SysMessage item = new SysMessage();

            item.MsgCode = MsgCode;

            item.VnMsgContent = VnMsgContent;

            item.EnMsgContent = EnMsgContent;

            item.VnMsgTitle = VnMsgTitle;

            item.EnMsgTitle = EnMsgTitle;

            item.MsgType = MsgType;

            item.ActionType = ActionType;

            item.SubsystemId = SubsystemId;

            item.SDesc = SDesc;


            item.Save(UserName);
        }
 public bool Destroy(object MsgCode)
 {
     return(SysMessage.Destroy(MsgCode) == 1);
 }
 public bool Delete(object MsgCode)
 {
     return(SysMessage.Delete(MsgCode) == 1);
 }