public ShipmentAuditRecord(int shipmentNumber, MovementAuditType auditType, string userName, DateTimeOffset dateAdded) { UserName = userName; ShipmentNumber = shipmentNumber; AuditType = auditType; DateAdded = dateAdded; }
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); }
public AuditMovement(Guid notificationId, int shipmentNumber, string userId, MovementAuditType type, DateTimeOffset dateAdded) { NotificationId = notificationId; ShipmentNumber = shipmentNumber; UserId = userId; Type = type; DateAdded = dateAdded; }