public RegisterAuditEventCommand(string entity, Guid entityId, string username, AuditEventAction action) { Entity = entity; EntityId = entityId; Username = username; Action = action; DateCreated = DateTime.Now; }
public AuditEvent(Guid id, string entity, Guid entityId, string username, AuditEventAction action) { Id = id; Entity = entity; EntityId = entityId; Username = username; Action = (int)action; }