public virtual void LogStatus(string msgID, Exception ex = null) { EW_LOG_BLL logBLL = new EW_LOG_BLL(); EW_LOG log = new EW_LOG(); log.MESSAGE_ID = msgID; log.LOG_DATE = DateTime.Now; if (ex == null) { log.STATUS = CHubConstValues.IndY; } else { log.STATUS = CHubConstValues.IndN; log.ERR_MSG = ex.Message; } logBLL.AddOrUpdate(log); }
public virtual bool HasExecuted(string msgID) { EW_LOG_BLL logBLL = new EW_LOG_BLL(); return(logBLL.HasExecuted(msgID)); }