/// <summary> /// 根据回复ID删除数据 /// </summary> /// <param name="replyId"></param> /// <returns></returns> public static bool DeleteReplyById(int replyId) { ReplyService service = new ReplyService(); try { return(service.DeleteById(replyId)); } catch (Exception e) { Console.WriteLine("\n异常信息:\n{0}", e.Message); return(false); } finally { service.CloseConnection(); } }