All checks were successful
Optimized Build and Deploy / remote-build-and-deploy (push) Successful in 5m17s
21 lines
1008 B
C#
21 lines
1008 B
C#
using GestionIntegral.Api.Dtos.Auditoria;
|
|
using GestionIntegral.Api.Dtos.Distribucion;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace GestionIntegral.Api.Services.Distribucion
|
|
{
|
|
public interface IOtroDestinoService
|
|
{
|
|
Task<IEnumerable<OtroDestinoDto>> ObtenerTodosAsync(string? nombreFilter);
|
|
Task<IEnumerable<OtroDestinoDropdownDto>> ObtenerTodosDropdownAsync();
|
|
Task<OtroDestinoDto?> ObtenerPorIdAsync(int id);
|
|
Task<(OtroDestinoDto? Destino, string? Error)> CrearAsync(CreateOtroDestinoDto createDto, int idUsuario);
|
|
Task<(bool Exito, string? Error)> ActualizarAsync(int id, UpdateOtroDestinoDto updateDto, int idUsuario);
|
|
Task<(bool Exito, string? Error)> EliminarAsync(int id, int idUsuario);
|
|
Task<IEnumerable<OtroDestinoHistorialDto>> ObtenerHistorialAsync(
|
|
DateTime? fechaDesde, DateTime? fechaHasta,
|
|
int? idUsuarioModifico, string? tipoModificacion,
|
|
int? idOtroDestinoAfectado);
|
|
}
|
|
} |