Class AdminAuditLog
- Namespace
- Integrations.Application.Common
- Assembly
- Integrations.Application.dll
Adds AdminAuditEntry rows to the current unit of work; they are saved with the change they describe.
public sealed class AdminAuditLog
- Inheritance
-
AdminAuditLog
- Inherited Members
Constructors
AdminAuditLog(IAppDbContext, ICallerContext, BusinessClock)
Adds AdminAuditEntry rows to the current unit of work; they are saved with the change they describe.
public AdminAuditLog(IAppDbContext db, ICallerContext caller, BusinessClock clock)
Parameters
dbIAppDbContextcallerICallerContextclockBusinessClock
Methods
Record(string, string?, string, string?)
Records action on subjectId; call before the change is saved.
public void Record(string action, string? entityId, string subjectId, string? details = null)