WeavyController.GetContent Method

Namespace:
Weavy.Web.Controllers
Assembly:
Weavy.Web.dll

GetContent(int, long?, bool)

Helper method for getting a content item (and setting it in Current). Throws a HTTP 404 exception if the content cannot be found.

protected Content GetContent(int id, long? timestamp = default(long? ), bool filter = true)

Parameters

id
int

Id of content to get.

timestamp
long?
filter
bool

Returns

Content

An item