PostService.GetVoters Method

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

GetVoters(int)

Gets the list of voters for the specified PollOption.

public static IEnumerable<User> GetVoters(int id)

Parameters

id
int

Id of the PollOption.

Returns

System.Collections.Generic.IEnumerable

Returns a list of users that voted for the option.