ModelFactoryGenerateNewNotificationFromFourEyesRequestT Method

Generates a new NotificationDto for a four eyes request

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
public static NotificationDto GenerateNewNotificationFromFourEyesRequest<T>(
	IIdLabel resource,
	AccountDto receivingUser,
	AccountDto sendingUser,
	ResourceAction resourceAction,
	ResourceType resourceType,
	string linkToResource
)

Parameters

resource  IIdLabel
Affected resource
receivingUser  AccountDto
The receiving user
sendingUser  AccountDto
The user who wanted to invoke the change
resourceAction  ResourceAction
Type of action being undertaken
resourceType  ResourceType
Type of resource as send in resource
linkToResource  String
URL to the resource

Type Parameters

T
Type to create the object in.

Return Value

NotificationDto
Generated notification

See Also