SpaceService.Delete Method
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
Delete(int, bool)
Permanently deletes a Space.
This will delete the space and can cause a cascading effect where multiple objects will be deleted.
public static Space Delete(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 deleted space.