ContentService.Discard Method

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

Discard(Int32, Boolean)

Discard pending changes, i.e. the current draft of the content item with the specified id.

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

Parameters

id
System.Int32
auth
System.Boolean

Returns

Content

The discarded draft.