consolidate Infrastructure interface and implementation classes
This commit is contained in:
@ -6,6 +6,17 @@ using System.Linq;
|
||||
|
||||
namespace Oqtane.Infrastructure
|
||||
{
|
||||
public interface ISyncManager
|
||||
{
|
||||
event EventHandler<SyncEvent> EntityChanged;
|
||||
List<SyncEvent> GetSyncEvents(int tenantId, DateTime lastSyncDate);
|
||||
void AddSyncEvent(Alias alias, string entityName, int entityId, string action);
|
||||
void AddSyncEvent(int tenantId, int siteId, string entityName, int entityId, string action);
|
||||
|
||||
[Obsolete("AddSyncEvent(int tenantId, string entityName, int entityId, string action) is deprecated. Use AddSyncEvent(Alias alias, string entityName, int entityId, string action) instead.", false)]
|
||||
void AddSyncEvent(int tenantId, string entityName, int entityId, string action);
|
||||
}
|
||||
|
||||
public class SyncManager : ISyncManager
|
||||
{
|
||||
private List<SyncEvent> SyncEvents { get; set; }
|
||||
|
Reference in New Issue
Block a user