IAzureCosmosDbGetCompanyDevices Method

Get all Devices belonging to company

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
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