EntityService.Like Method

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

Like(TLikeable, Nullable, Boolean)

Like the specified entity.

public static TLikeable Like(TLikeable likeable, int? userId = default(int? ), bool auth = true)
    where TLikeable : class, ILikeable

Parameters

likeable
{TLikeable}
userId
System.Nullable{System.Int32}
auth
System.Boolean

Returns

{TLikeable}

The liked entity.