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.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
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