PostRepo.SetOptions Method

Namespace:
Weavy.Core.Repos
Assembly:
Weavy.Core.dll

SetOptions(Int32, IEnumerableOption>)

Set poll options for the specified poll/post. Note that this will replace existing options.

public static void SetOptions(int id, IEnumerable options)

Parameters

id
System.Int32
options
System.Collections.Generic.IEnumerable{Weavy.Core.Models.PollOption}