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