public virtual PhysicalInventoryLineStateRemovedDto NewPhysicalInventoryLineStateRemoved(InventoryItemId inventoryItemId) { var e = new PhysicalInventoryLineStateRemovedDto(); var eId = NewPhysicalInventoryLineEventId(inventoryItemId); e.PhysicalInventoryLineEventId = eId; return(e); }
public virtual PhysicalInventoryLineStateRemovedDto ToPhysicalInventoryLineStateRemovedDto(IPhysicalInventoryLineStateRemoved e) { var dto = new PhysicalInventoryLineStateRemovedDto(); dto.PhysicalInventoryLineEventId = e.PhysicalInventoryLineEventId; dto.CreatedAt = e.CreatedAt; dto.CreatedBy = e.CreatedBy; dto.Version = e.Version; dto.CommandId = e.CommandId; return(dto); }