added support for url mapping and viitors
This commit is contained in:
17
Oqtane.Server/Repository/Interfaces/IUrlMappingRepository.cs
Normal file
17
Oqtane.Server/Repository/Interfaces/IUrlMappingRepository.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Oqtane.Models;
|
||||
|
||||
namespace Oqtane.Repository
|
||||
{
|
||||
public interface IUrlMappingRepository
|
||||
{
|
||||
IEnumerable<UrlMapping> GetUrlMappings(int siteId, bool isMapped);
|
||||
UrlMapping AddUrlMapping(UrlMapping urlMapping);
|
||||
UrlMapping UpdateUrlMapping(UrlMapping urlMapping);
|
||||
UrlMapping GetUrlMapping(int urlMappingId);
|
||||
UrlMapping GetUrlMapping(int urlMappingId, bool tracking);
|
||||
UrlMapping GetUrlMapping(int siteId, string url);
|
||||
void DeleteUrlMapping(int urlMappingId);
|
||||
}
|
||||
}
|
15
Oqtane.Server/Repository/Interfaces/IVisitorRepository.cs
Normal file
15
Oqtane.Server/Repository/Interfaces/IVisitorRepository.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Oqtane.Models;
|
||||
|
||||
namespace Oqtane.Repository
|
||||
{
|
||||
public interface IVisitorRepository
|
||||
{
|
||||
IEnumerable<Visitor> GetVisitors(int siteId, DateTime fromDate);
|
||||
Visitor AddVisitor(Visitor visitor);
|
||||
Visitor UpdateVisitor(Visitor visitor);
|
||||
Visitor GetVisitor(int visitorId);
|
||||
void DeleteVisitor(int visitorId);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user