WeavyController.GetSpace Method

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

GetSpace(int, bool)

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
int

Id of space to get.

filter
bool

Returns

Space

A space