2025-06-09 19:37:07 -03:00
|
|
|
using GestionIntegral.Api.Dtos.Auditoria;
|
2025-06-06 18:33:09 -03:00
|
|
|
using GestionIntegral.Api.Dtos.Distribucion;
|
|
|
|
|
using GestionIntegral.Api.Dtos.Reportes;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace GestionIntegral.Api.Services.Distribucion
|
|
|
|
|
{
|
|
|
|
|
public interface INovedadCanillaService
|
|
|
|
|
{
|
|
|
|
|
Task<IEnumerable<NovedadCanillaDto>> ObtenerPorCanillaAsync(int idCanilla, DateTime? fechaDesde, DateTime? fechaHasta);
|
|
|
|
|
Task<NovedadCanillaDto?> ObtenerPorIdAsync(int idNovedad);
|
|
|
|
|
Task<(NovedadCanillaDto? Novedad, string? Error)> CrearAsync(CreateNovedadCanillaDto createDto, int idUsuario);
|
|
|
|
|
Task<(bool Exito, string? Error)> ActualizarAsync(int idNovedad, UpdateNovedadCanillaDto updateDto, int idUsuario);
|
|
|
|
|
Task<(bool Exito, string? Error)> EliminarAsync(int idNovedad, int idUsuario);
|
|
|
|
|
Task<IEnumerable<NovedadesCanillasReporteDto>> ObtenerReporteNovedadesAsync(int idEmpresa, DateTime fechaDesde, DateTime fechaHasta);
|
|
|
|
|
Task<IEnumerable<CanillaGananciaReporteDto>> ObtenerReporteGananciasAsync(int idEmpresa, DateTime fechaDesde, DateTime fechaHasta);
|
2025-06-09 19:37:07 -03:00
|
|
|
Task<IEnumerable<NovedadCanillaHistorialDto>> ObtenerHistorialAsync(
|
|
|
|
|
DateTime? fechaDesde, DateTime? fechaHasta,
|
|
|
|
|
int? idUsuarioModifico, string? tipoModificacion,
|
|
|
|
|
int? idNovedadAfectada);
|
2025-06-06 18:33:09 -03:00
|
|
|
}
|
|
|
|
|
}
|