ContentService.Restore Method

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

Overloads

Restore(Int32, Boolean) Restores a trashed content item (and its descendants).
Restore(Int32, Boolean) Restores a trashed content item (and its descendants).

Restore(Int32, Boolean)

Restores a trashed content item (and its descendants).

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

Parameters

id
System.Int32
auth
System.Boolean

Returns

Content

The restored content item.

Restore(Int32, Boolean)

Restores a trashed content item (and its descendants).

public static T Restore(int id, bool auth = true)
    where T : Content, ITrashable

Parameters

id
System.Int32
auth
System.Boolean

Returns

Content

The restored content item.