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 auth = true)

Parameters

id
int

The id of the embed to delete.

auth
bool

true to check if the user has permission to delete the embed, otherwise false.

Returns

Embed

The deleted embed.