ContentService.GetDraft Method

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

Overloads

GetDraft(Int32, Boolean) Gets the current draft of the specified Content item.
GetDraft(Int32, Boolean) Gets the current draft of the specified Content item.

GetDraft(Int32, Boolean)

Gets the current draft of the specified Content item.

public static Content GetDraft(int id, bool filter = true)

Parameters

id
System.Int32
filter
System.Boolean

Returns

GetDraft(Int32, Boolean)

Gets the current draft of the specified Content item.

public static T GetDraft(int id, bool filter = true)
    where T : Content, IDraftable

Parameters

id
System.Int32
filter
System.Boolean

Returns

Content

Returns an instance of the class.