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<IEnumerable<PrecioDto>> ObtenerPorPublicacionIdAsync(int idPublicacion);
Task<PrecioDto?> 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<IEnumerable<PrecioHistorialDto>> ObtenerHistorialAsync(
DateTime? fechaDesde, DateTime? fechaHasta,
int? idUsuarioModifico, string? tipoModificacion,
int? idPrecioAfectado, int? idPublicacionAfectada);
}