MessageService.Delete Method
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
Delete(int, bool)
Deletes a Message from the repository.
public static Message Delete(int id, bool sudo = false)
Parameters
- id
- int
The id of the Message to delete.
- sudo
- bool
true
to perform action as super user, otherwise false
.