PostService.Delete Method
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
Delete(int, bool)
Permanently deletes a Post and associated data.
public static Post Delete(int id, bool sudo = false)
Parameters
- id
- int
Id of the post.
- sudo
- bool
true
to perform action as super user, otherwise false
.