EntityRepo.Like Method

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

Like(IEntity, int)

Likes an entity.

public static void Like(IEntity entity, int userId)

Parameters

entity
IEntity

The entity that is liked.

userId
int

Id of the user that likes the entity