SpaceService.Restore Method
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
Restore(int, bool)
Restored a Space from the trash.
This will restore the space and can cause a cascading effect where multiple objects will be restored.
public static Space Restore(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 restored space.