EntityRepo.ViewAsync Method

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

ViewAsync(IEntity, Int32)

Marks the specified entity as viewed.

public static Task ViewAsync(IEntity entity, int userid)

Parameters

entity
IEntity
userid
System.Int32

Returns

System.Threading.Tasks.Task{System.Int64}

The total number of views for the entity.