SpaceService.GetByTeamname Method
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
GetByTeamname(string, bool, bool)
Gets a Space object from the repository.
public static Space GetByTeamname(string teamname, bool sudo = false, bool trashed = false)
Parameters
- teamname
- string
Teamname used for @mentions.
- sudo
- bool
true
to perform action as super user, otherwise false
.
- trashed
- bool
true
to return space even if trashed, otherwise false
.