PostService.Trash Method

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

Trash(int, bool)

Sends a Post to the trash, i.e. sets the IsTrashed flag.

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

Parameters

id
int

Id of the Post to trash.

auth
bool

Returns

Post

The trashed Post.