AzureCosmosDbGetCompanyEnvironments Method

Retrieves all non-deleted EnvironmentDtos owned by the company.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public Task<Dictionary<Guid, EnvironmentDto>> GetCompanyEnvironments(
	CompanyDto company,
	CancellationToken cancellationToken = default
)

Parameters

company  CompanyDto
CompanyDto owning the environments
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

TaskDictionaryGuid, EnvironmentDto
Environments belonging to the company

Implements

IAzureCosmosDbGetCompanyEnvironments(CompanyDto, CancellationToken)

See Also