ModelFactoryGenerateConfirmationNotificationFromFourEyesRequest Method

Generates a new NotificationDto for a four eyes request that was accepted, letting the requester know it was accepted.

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
public static NotificationDto GenerateConfirmationNotificationFromFourEyesRequest(
	Guid requesterId,
	IIdLabel alteredItem,
	Guid companyId,
	ResourceType resourceType,
	ResourceAction resourceAction,
	string url,
	AccountDto currentUser
)

Parameters

requesterId  Guid
User originally requesting the four-eyes action
alteredItem  IIdLabel
Item being impacted
companyId  Guid
Company the item belongs to
resourceType  ResourceType
Type of resource of alteredItem
resourceAction  ResourceAction
Action being undertaken on alteredItem
url  String
Url of the item
currentUser  AccountDto
User accepting the 4-eyes request

Return Value

NotificationDto
Created notification

See Also