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(int, bool) | Permanently deletes a Comment object from the repository. |
Follow(int, int?) | Mark a Comment as followed by the specified user. |
Get(int, bool, bool) | Gets a Comment object from the repository. |
Get |
Gets the total number of Comment items in the system. |
Insert(Comment, ICommentable, IEnumerable |
Inserts a Comment object into the repository. |
Restore(int, bool) | Restores a trashed Comment. |
Search(Comment |
Performs a search according to the specified CommentQuery object. |
Trash(int, bool) | Sends a Comment to the trash. |
Update(Comment, IEnumerable |
Updates a Comment object. |