AzureCosmosDbGetEventCodesListing Method

Retrieves a simple ID and Label listing of all EventCodeDto's in the database.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public Task<BusinessSegmentDto[]> GetEventCodesListing(
	IStringLocalizer loc,
	CancellationToken cancellationToken = default
)

Parameters

loc  IStringLocalizer
Localization mechanism
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

TaskBusinessSegmentDto
Array of BusinessSegmentDto representing the event codes

Implements

IAzureCosmosDbGetEventCodesListing(IStringLocalizer, CancellationToken)

See Also