PostService.Pin Method
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
Pin(int, int?)
Pin the specified post.
public static Post Pin(int id, int? userId = default(int? ))
Parameters
- id
- int
Id of the Post to pin.
- user
Id - int?
Id of the User that pinned, default is null
which indicates the current user.