2025-06-09 19:37:07 -03:00
|
|
|
using GestionIntegral.Api.Dtos.Auditoria;
|
2025-05-23 15:47:39 -03:00
|
|
|
using GestionIntegral.Api.Dtos.Contables;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace GestionIntegral.Api.Services.Contables
|
|
|
|
|
{
|
|
|
|
|
public interface IPagoDistribuidorService
|
|
|
|
|
{
|
|
|
|
|
Task<IEnumerable<PagoDistribuidorDto>> ObtenerTodosAsync(
|
|
|
|
|
DateTime? fechaDesde, DateTime? fechaHasta,
|
|
|
|
|
int? idDistribuidor, int? idEmpresa, string? tipoMovimiento);
|
|
|
|
|
|
|
|
|
|
Task<PagoDistribuidorDto?> ObtenerPorIdAsync(int idPago);
|
|
|
|
|
Task<(PagoDistribuidorDto? Pago, string? Error)> CrearAsync(CreatePagoDistribuidorDto createDto, int idUsuario);
|
|
|
|
|
Task<(bool Exito, string? Error)> ActualizarAsync(int idPago, UpdatePagoDistribuidorDto updateDto, int idUsuario);
|
|
|
|
|
Task<(bool Exito, string? Error)> EliminarAsync(int idPago, int idUsuario);
|
2025-06-09 19:37:07 -03:00
|
|
|
Task<IEnumerable<PagoDistribuidorHistorialDto>> ObtenerHistorialAsync(
|
|
|
|
|
DateTime? fechaDesde, DateTime? fechaHasta,
|
|
|
|
|
int? idUsuarioModifico, string? tipoModificacion,
|
|
|
|
|
int? idPagoAfectado);
|
2025-05-23 15:47:39 -03:00
|
|
|
}
|
|
|
|
|
}
|