ConversationService.Delete Method
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
Delete(int, bool)
Permanently deletes a Conversation.
This will delete the conversation and can cause a cascading effect where multiple objects will be deleted.
public static Conversation Delete(int id, bool sudo = false)
Parameters
- id
- int
Id of conversation to delete.
- sudo
- bool
true
to perform action as super user, otherwise false
.
Returns
Conversation
The deleted conversation.