EntityService.GetViewCount Method

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

GetViewCount(IEntity, bool)

Gets the total number of views for en entity.

public static long GetViewCount(IEntity entity, bool unique = false)

Parameters

entity
IEntity
unique
bool

true to count only unique views or false to count all views.

Returns

long