public NASDMS.Systems.ErrorCode GetAuditTrails(ref List <AuditTrail> auditTrails, Guid Oid) { ErrorCode err = ErrorCode.ERROR_SUCCESS; if (IsReadyForLogging == false) { return(err); } try { auditTrails = RDSAuditTrail.GetAuditTrails(Oid); return(err); } catch (Exception e) { throw e; } }
public ErrorCode AddAuditTrail(Guid Oid, string ChangedBy, string Data, CategoryAudit category, ActionAudit action) { ErrorCode err = ErrorCode.ERROR_SUCCESS; if (IsReadyForLogging == false) { return(err); } try { RDSAuditTrail.AddAuditTrail(Oid, ChangedBy, Data, category, action); return(err); } catch (Exception e) { throw e; } }
public NASDMS.Systems.ErrorCode GetAuditTrailsPaged(ref List <AuditTrail> auditTrails, Int32 startRecord, Int32 maxRecords, String sortColumns) { ErrorCode err = ErrorCode.ERROR_SUCCESS; if (IsReadyForLogging == false) { return(err); } try { auditTrails = RDSAuditTrail.GetAuditTrailsPaged(startRecord, maxRecords, sortColumns); return(err); } catch (Exception e) { throw e; } }