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 auth = true)

    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.

auth
bool

true to check permissions, otherwise false

Returns

The unstarred entity.