14 lines
524 B
C#
14 lines
524 B
C#
|
|
using CuentasCobrar.UI.Models;
|
|||
|
|
|
|||
|
|
namespace CuentasCobrar.UI.Services.Interfaces
|
|||
|
|
{
|
|||
|
|
public interface ITelefonoAPI
|
|||
|
|
{
|
|||
|
|
Task<List<TelefonoViewModel>?> ObtenerTelefonos ( string token );
|
|||
|
|
Task<TelefonoViewModel?> ObtenerTelefono ( string token, int idTelefono );
|
|||
|
|
Task<bool> AgregarTelefono ( string token, TelefonoViewModel telefono );
|
|||
|
|
Task<bool> ActualizarTelefono ( string token, TelefonoViewModel telefono );
|
|||
|
|
Task<bool> EliminarTelefono ( string token, int idTelefono );
|
|||
|
|
}
|
|||
|
|
}
|