using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FrameworkDAL.DTO.EventLog; using GB5Shared.DTO.Framework.Login; namespace FrameworkDAL.CustomCode.EventLog { public interface IEventLogDAL { Task GetEventLog(int EventLogId, LoginDTO LoginDTO); Task SaveEventLog(EventLogDTO EventLogDTO, LoginDTO LoginDTO); Task UpdateEventLog(EventLogDTO EventLogDTO, LoginDTO LoginDTO); Task DeleteEventLog(int EventLogId, LoginDTO LoginDTO); /// /// Inserts a login event row into TEVENTLOG (tenant DB) and returns the /// newly assigned EVENTLOGID. Used exclusively during authentication so /// that LoginEventLogId is known synchronously before the session row /// is written to MSESSIONSTORE. /// Task SaveLoginEventLog(EventLogDTO eventLogDTO, LoginDTO loginDTO, CancellationToken ct = default); } }