EnvironmentRepositoryGetEnvironmentById Method

Retrieves a single environment.

Definition

Namespace: MobileTrack.DataContainers.Repositories
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public Task<EnvironmentDto?> GetEnvironmentById(
	CompanyDto company,
	Guid environmentId,
	bool deletedItem,
	CancellationToken cancellationToken
)

Parameters

company  CompanyDto
Company to get the environments from
environmentId  Guid
Environment to look up.
deletedItem  Boolean
If , we'll return the soft-deleted item.
cancellationToken  CancellationToken
Cancellation token

Return Value

TaskEnvironmentDto
Found environment, or if not found.

See Also