WeavyController.GetContent Method

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

GetContent(Int32, Nullable, Boolean)

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
System.Int32
timestamp
System.Nullable{System.Int64}
filter
System.Boolean

Returns

Content

An item