CommentService.Delete Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Delete(int, bool)

Permanently deletes a Comment object from the repository.

This will delete the object and can cause a cascading effect where multiple objects will be deleted.

public static Comment Delete(int id, bool auth = true)

Parameters

id
int

Comment id.

auth
bool

Returns

Comment

The deleted Comment.