public static bool DeleteMsgHis(string sellerNick, string startDate, string endDate, string sendType) { DataTable dt = MsgDAL.GetSellerMsgSendHis(sellerNick, startDate, endDate, sendType, "", "", ""); if (dt != null && dt.Rows.Count > 0) { for (int i = 0; i < dt.Rows.Count; i++) { try { string transNumber = dt.Rows[i]["transNumber"].ToString(); MsgDAL.DeleteMsgHis(transNumber); } catch (Exception ex) { continue; } } } return(true); }
public static DataTable GetSellerMsgSendHis(string sellerNick, string startDate, string endDate, string sendType, string helpSellerNick, string buyerPhone, string sendStatus) { return(MsgDAL.GetSellerMsgSendHis(sellerNick, startDate, endDate, sendType, helpSellerNick, buyerPhone, sendStatus)); }
public static DataTable GetSellerMsgSendHis(string startDate, string endDate) { return(MsgDAL.GetSellerMsgSendHis(startDate, endDate)); }