Example #1
0
        /// <summary>
        /// 删除指定信息
        /// </summary>
        /// <param name="messageid"></param>
        /// <returns></returns>
        public bool DeleteMessage()
        {
            MessageDAL dal = new MessageDAL(connectionString);

            return(dal.DeleteMessage(_messageid));
        }
Example #2
0
        public static void RemoveMessage(int id)
        {
            var message = MessageDAL.GetMessage(id);

            MessageDAL.DeleteMessage(message);
        }
Example #3
0
 public static void DeleteMessage(string IDs)
 {
     MessageDAL.DeleteMessage(IDs);
 }