EmbedService.Delete Method
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
Delete(int, bool)
Permanently deletes an Embed from the repository.
public static Embed Delete(int id, bool sudo = false)
Parameters
- id
- int
The id of the embed to delete.
- sudo
- bool
true
to perform action as super user, otherwise false
.
Returns
Embed
The deleted embed.