CommentService Class

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

Service layer for Comment objects.

public static class CommentService
Inheritance:
System.Object → CommentService

Methods

Delete(Int32, Boolean) Permanently deletes a Comment object from the repository.
Follow(Int32, Nullable) Mark a Comment as followed by the specified user.
Get(Int32, Boolean) Gets a Comment object from the repository.
GetCount() Gets the total number of Comment items in the system.
Insert(Comment, ICommentable, IEnumerable, IEnumerable, Boolean) Inserts a Comment object into the repository.
Restore(Int32) Restores a trashed Comment, i.e. clears the IsTrashed flag.
Search(CommentQuery) Performs a search according to the specified CommentQuery object.
Trash(Int32) Sends a Comment to the trash, i.e. sets the IsTrashed flag.
Update(Comment, IEnumerable, Boolean) Updates a Comment object.