ExternalLinkService.Insert Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Insert(ExternalLink, bool)

Inserts a new ExternalLink to an IEntity.

public static ExternalLink Insert(ExternalLink link, bool auth = true)

Parameters

link
ExternalLink

The link to insert.

auth
bool

true to check if the user has permission to share the IEntity, otherwise false.

Returns

ExternalLink

The inserted ExternalLink