Beispiel #1
0
 public ShipmentAuditRecord(int shipmentNumber, MovementAuditType auditType, string userName, DateTimeOffset dateAdded)
 {
     UserName       = userName;
     ShipmentNumber = shipmentNumber;
     AuditType      = auditType;
     DateAdded      = dateAdded;
 }
Beispiel #2
0
        public async Task AddImportMovementAudit(IMediator mediator, Guid notificationId, int shipmentNumber, string userId,
                                                 MovementAuditType type)
        {
            var audit = new AuditImportMovement(notificationId, shipmentNumber, userId, type, SystemTime.Now);

            await mediator.SendAsync(audit);
        }
Beispiel #3
0
 public AuditMovement(Guid notificationId, int shipmentNumber, string userId, MovementAuditType type,
                      DateTimeOffset dateAdded)
 {
     NotificationId = notificationId;
     ShipmentNumber = shipmentNumber;
     UserId         = userId;
     Type           = type;
     DateAdded      = dateAdded;
 }