PostService.Get Method

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

Get(int, bool)

Gets the specified Post.

public static Post Get(int id, bool filter = true)

Parameters

id
int

Id of the post.

filter
bool

true to filter out posts where the user does not have View permission, otherwise false.

Returns

Post

Returns an instance of the Post class.