updateCargo

open suspend override fun updateCargo(oldCargoNumber: String, newCargoNumber: String)

Updates the cargo number in the local database from oldCargoNumber to newCargoNumber.

Parameters

oldCargoNumber

The old cargo number to be updated.

newCargoNumber

The new cargo number to replace the old cargo number.