EntityService.GetViewCount Method

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

GetViewCount(IEntity, Boolean)

Gets the total number of views for en entity.

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

Parameters

entity
IEntity
unique
System.Boolean

Returns

System.Int64