IAzureCosmosDbGetRequestNotificationOfUserByType Method

Gets request by AccountId.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
Task<NotificationDto?> GetRequestNotificationOfUserByType(
	UserSessionData currentUser,
	IIdLabel resource,
	ResourceAction action,
	CancellationToken cancellationToken = default
)

Parameters

currentUser  UserSessionData
AccountDto for whom the notification was made
resource  IIdLabel
IIdLabel resource
action  ResourceAction
ResourceAction enum
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

TaskNotificationDto
Request (if found, otherwise )

See Also