using System; using System.Collections.Generic; using Umbraco.Core.Models; namespace Umbraco.Core.Services { public interface IAuditService : IService { void Add(AuditType type, string comment, int userId, int objectId); IEnumerable GetLogs(int objectId); IEnumerable GetUserLogs(int userId, AuditType type, DateTime? sinceDate = null); IEnumerable GetLogs(AuditType type, DateTime? sinceDate = null); void CleanLogs(int maximumAgeOfLogsInMinutes); } }