17 lines
No EOL
662 B
C#
17 lines
No EOL
662 B
C#
using CuentasCobrar.UI.Models;
|
|
using CuentasCobrar.UI.Models.Filters;
|
|
using CuentasCobrar.UI.Models.Paginacion;
|
|
|
|
namespace CuentasCobrar.UI.Services.Interfaces
|
|
{
|
|
public interface IPagoAPI
|
|
{
|
|
Task<List<PagoViewModel>?> ObtenerPagos ( string token );
|
|
Task<PagoViewModel?> ObtenerPago ( string token, int idPago );
|
|
Task<ListaDePaginacion<PagoViewModel>?> ObtenerPagosFiltrados ( string token, PagoFilterModel filtros );
|
|
Task<bool> AgregarPago ( string token, PagoViewModel pago );
|
|
Task<bool> ActualizarPago ( string token, PagoViewModel pago );
|
|
Task<bool> EliminarPago ( string token, int idPago );
|
|
|
|
}
|
|
} |