PostsController.Vote Method

Namespace:
Weavy.Web.Api.Controllers
Assembly:
Weavy.Web.dll

Vote(int, int)

Vote for an option in a poll.

public Post Vote(int id, int optionid)

Parameters

id
int

The post id.

optionid
int

The option id.

Returns

Post

The post that .