using GestionIntegral.Api.Dtos.Auditoria; using GestionIntegral.Api.Dtos.Distribucion; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace GestionIntegral.Api.Services.Distribucion { public interface IPrecioService { Task> ObtenerPorPublicacionIdAsync(int idPublicacion); Task ObtenerPorIdAsync(int idPrecio); // Para editar un precio especĂ­fico Task<(PrecioDto? Precio, string? Error)> CrearAsync(CreatePrecioDto createDto, int idUsuario); Task<(bool Exito, string? Error)> ActualizarAsync(int idPrecio, UpdatePrecioDto updateDto, int idUsuario); Task<(bool Exito, string? Error)> EliminarAsync(int idPrecio, int idUsuario); Task> ObtenerHistorialAsync( DateTime? fechaDesde, DateTime? fechaHasta, int? idUsuarioModifico, string? tipoModificacion, int? idPrecioAfectado, int? idPublicacionAfectada); } }