IAzureCosmosDbGetRequestNotificationOfUserByType Method

Gets request by AccountId.

Definition

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