ContentService.Unlock Method

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

Overloads

Unlock(int, bool) Unlocks a content item, making it possible for others to edit.
Unlock(int, bool) Unlocks a content item, making it possible for others to edit.

Unlock(int, bool)

Unlocks a content item, making it possible for others to edit.

public static Content Unlock(int id, bool auth = true)

Parameters

id
int

Id of the Content item to unlock.

auth
bool

Returns

Content

The unlocked Content.

Unlock(int, bool)

Unlocks a content item, making it possible for others to edit.

public static T Unlock<T>(int id, bool auth = true)

    where T : Content, ILockable

Parameters

id
int

Id of the Content item to unlock.

auth
bool

Returns

The unlocked Content.