PostService.Vote Method

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

Vote(int, int?)

Vote for the specified PollOption.

public static PollOption Vote(int id, int? userid = default(int? ))

Parameters

id
int

Id of the PollOption to vote for.

userid
int?

Id of the user that voted.

Returns

PollOption

Returns the selected PollOption.