IAzureCosmosDbGetCompanyDevices Method

Get all Devices belonging to company

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task<Dictionary<Guid, DeviceDto>> GetCompanyDevices(
	CompanyDto company,
	bool deleted = false,
	CancellationToken cancellationToken = default
)

Parameters

company  CompanyDto
Company owning the Devices.
deleted  Boolean  (Optional)
Whether to retrieve deleted items. Default:
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

TaskDictionaryGuid, DeviceDto
Devices belonging to the company

See Also