using FrameworkDAL.DTO.ChangeTracking; using GB5Shared.ChangeTracking; using GB5Shared.DTO.Framework.Login; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace FrameworkDAL.CustomCode.ChangeTracking { public interface IChangeTrackingDAL { /// /// Inserts one TEVENTLOGCHANGE row per entry in . /// Called by EventLogSubBLL after it writes the TEVENTLOG row so /// is known. No-op when is empty. /// Task SaveChangesAsync( int eventLogId, IReadOnlyList changes, LoginDTO login, CancellationToken ct = default); /// /// Returns all field-level changes recorded for a specific audit event. /// Task> GetChangesByEventLogAsync( int eventLogId, LoginDTO login, CancellationToken ct = default); } }