public static void DeleteProductComment(string strID, int userID) { if (userID != 0) { strID = dal.ReadProductCommentIDList(strID, userID); } ProductReplyBLL.DeleteProductReplyByCommentID(strID); ProductBLL.ChangeProductCommentCountAndRankByGeneral(strID, ChangeAction.Minus); dal.DeleteProductComment(strID, userID); }
public static void DeleteProductCommentByProductID(string strProductID) { ProductReplyBLL.DeleteProductReplyByProductID(strProductID); dal.DeleteProductCommentByProductID(strProductID); }