TFS_ANTIGUO/TPAtesa_CuentasCobrar/CuentasCobrar.UI/Services/Interfaces/ITelefonoAPI.cs

13 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 );
}
}