IAzureCosmosDbGetRequestNotificationOfUserByType Method

Gets request by AccountId.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
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