SpaceService.Trash Method
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
Trash(int, bool)
Moves a Space to the trash.
This will trash the space and can cause a cascading effect where multiple objects will be trashed.
public static Space Trash(int id, bool sudo = false)
Parameters
- id
- int
Id of space.
- sudo
- bool
true
to perform action as super user, otherwise false
.
Returns
Space
The trashed space.