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