EntityService.Unstar Method

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

Unstar(TStarrable, int?, bool)

Unstar the specified entity.

public static TStarrable Unstar<TStarrable>(TStarrable starrable, int? userId = default(int? ), bool sudo = false)
    where TStarrable : class, IStarrable

Parameters

starrable

The entity to unstar.

userId
int?

Id of the User that unstars, default is null which indicates the current user.

sudo
bool

true to perform action as super user, otherwise false.

Returns

The unstarred entity.