using audit.Model; using MongoDB.Bson; using System; using System.Collections.Generic; using System.Threading.Tasks; using MongoDB.Driver; namespace audit_logs.Repositories.Interfaces; public interface IAuditRecordRepository : IMongoRepository { new Task InsertOneAsync(AuditRecord auditRecord); Task DeleteBeforeDate(DateTime date); Task InsertBatch(IEnumerable auditRecords); Task> FindAllFromOrigin(ObjectId originId); Task> GetAllAuditRecordsAsync(); Task> GetPaginatedAsync(int pageNumber, int pageSize); Task CountDocumentsAsync(); // Nuevo método para contar documentos }