IAzureCosmosDbCreateDevice Method
Creates a Device in the database.
Namespace: MobileTrack.DataContainers.CosmosAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task<DeviceDto> CreateDevice(
DeviceDto device,
UserSessionData createdBy,
CancellationToken cancellationToken = default
)
- device DeviceDto
- Device to create
- createdBy UserSessionData
- User creating the Device
- cancellationToken CancellationToken (Optional)
- Cancellation token (optional)
TaskDeviceDtoCosmos DB Object-creation
Task