PostService Class
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
Service layer for posts.
public static class PostService
- Inheritance:
- System.Object → PostService
Methods
Delete(int, bool) | Permanently deletes a Post and associated data. |
Get(int, bool, bool) | Gets the specified Post. |
Get |
Gets the poll options for the specified Post. |
Get |
Get messages posted to the specified app. |
Get |
Gets the list of voters for the specified PollOption. |
Insert(Post, App, IEnumerable |
Inserts a Post. |
Move(int, App, bool) | Moves a Post to another App. |
Pin(int, int?, bool) | Pin the specified post. |
Restore(int, bool) | Restores a trashed Post. |
Search(Post |
Performs a search according to the specified PostQuery object. |
Trash(int, bool) | Sends a Post to the trash. |
Unpin(int, bool) | Unpin the specified post. |
Update(Post, IEnumerable |
Updates a Post. |
Vote(int, int?, bool) | Vote for the specified PollOption. |