PostService.Restore Method
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
Restore(int, bool)
Restores a trashed Post.
public static Post Restore(int id, bool sudo = false)
Parameters
- id
- int
Id of the Post to restore.
- sudo
- bool
true
to perform action as super user, otherwise false
.