IAzureCosmosDbUpdateAccount Method

Updates an original value in the database with the newValue

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task UpdateAccount(
	AccountDto newValue,
	AccountDto original,
	UserSessionData updatedBy,
	CancellationToken cancellationToken = default
)

Parameters

newValue  AccountDto
New value with edits.
original  AccountDto
Original value.
updatedBy  UserSessionData
User updating the account
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

Task
Task completion

See Also