13 lines
No EOL
454 B
C#
13 lines
No EOL
454 B
C#
using CuentasCobrar.UI.Models;
|
|
|
|
namespace CuentasCobrar.UI.Services.Interfaces
|
|
{
|
|
public interface IRolAPI
|
|
{
|
|
Task<List<RolViewModel>?> ObtenerRoles ( string token );
|
|
Task<RolViewModel?> ObtenerRol ( string token, int idRol );
|
|
Task<bool> AgregarRol ( string token, RolViewModel rol );
|
|
Task<bool> ActualizarRol ( string token, RolViewModel rol );
|
|
Task<bool> EliminarRol ( string token, int idRol );
|
|
}
|
|
} |