public bool DeleteNotifyInfo(Base.Notify.NotifyInfo CurrentInfo) { try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); return(_of.DeleteNotifyInfo(CurrentInfo)); } catch (Exception ex) { string _error = string.Format("删除提示信息[NotifyInfoID={1}]时发生错误!{0}", ex.Message, CurrentInfo.ID); ///SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(false); } }
public bool SaveNotifyInfo(Base.Notify.NotifyInfo _info) { try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); return(_of.SaveNotifyInfo(_info)); } catch (Exception ex) { string _error = string.Format("保存提示信息时发生错误!{0}", ex.Message); //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(false); } }