AzureCosmosDbUpdateEnvironment Method

Updates a EnvironmentDto value in the database

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public Task UpdateEnvironment(
	EnvironmentDto newValue,
	EnvironmentDto original,
	UserSessionData updatedBy,
	CancellationToken cancellationToken = default
)

Parameters

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

Return Value

Task
Task completion

Implements

IAzureCosmosDbUpdateEnvironment(EnvironmentDto, EnvironmentDto, UserSessionData, CancellationToken)

See Also