WeavyController.GetSpace Method

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

GetSpace(Int32, Boolean)

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

protected Space GetSpace(int id, bool filter = true)

Parameters

id
System.Int32
filter
System.Boolean

Returns

Space

A space