using GestionIntegral.Api.Models.Contables; using System; using System.Collections.Generic; using System.Data; using System.Threading.Tasks; namespace GestionIntegral.Api.Data.Repositories.Contables { public interface INotaCreditoDebitoRepository { Task> GetAllAsync( DateTime? fechaDesde, DateTime? fechaHasta, string? destino, int? idDestino, int? idEmpresa, string? tipoNota); Task GetByIdAsync(int idNota); Task CreateAsync(NotaCreditoDebito nuevaNota, int idUsuario, IDbTransaction transaction); Task UpdateAsync(NotaCreditoDebito notaAActualizar, int idUsuario, IDbTransaction transaction); Task DeleteAsync(int idNota, int idUsuario, IDbTransaction transaction); Task> GetHistorialAsync( DateTime? fechaDesde, DateTime? fechaHasta, int? idUsuarioModifico, string? tipoModificacion, int? idNotaOriginal); // Para filtrar por una nota especĂ­fica } }