/// <summary> /// 删除指定信息 /// </summary> /// <param name="messageid"></param> /// <returns></returns> public bool DeleteMessage() { MessageDAL dal = new MessageDAL(connectionString); return(dal.DeleteMessage(_messageid)); }
public static void RemoveMessage(int id) { var message = MessageDAL.GetMessage(id); MessageDAL.DeleteMessage(message); }
public static void DeleteMessage(string IDs) { MessageDAL.DeleteMessage(IDs); }