Table of Contents

Interface IVisitorService

Namespace
Oqtane.Services
Assembly
Oqtane.Client.dll

Service to manage Visitors on a Site

public interface IVisitorService

Methods

GetVisitorAsync(int)

Get a specific Visitor of this Site.

Task<Visitor> GetVisitorAsync(int visitorId)

Parameters

visitorId int

ID-reference of a Visitor

Returns

Task<Visitor>

GetVisitorsAsync(int, DateTime)

Get all Visitors of this Site.

Task<List<Visitor>> GetVisitorsAsync(int siteId, DateTime fromDate)

Parameters

siteId int

ID-reference of a Site

fromDate DateTime

Returns

Task<List<Visitor>>