PostService.Restore Method

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

Restore(int, bool)

Restores a trashed Post, i.e. clears the IsTrashed flag.

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

Parameters

id
int

Id of the Post to restore.

auth
bool

Returns

Post

The restored Post.