CommentService.Restore Method

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

Restore(int, bool)

Restores a trashed Comment.

public static Comment Restore(int id, bool sudo = false)

Parameters

id
int

Id of the Comment to restore.

sudo
bool

true to perform action as super user, otherwise false.

Returns

Comment

The restored Comment.