using SIGCM2.Domain.Entities;

namespace SIGCM2.Application.Abstractions.Persistence;

public interface IPermisoRepository
{
    Task<IReadOnlyList<Permiso>> ListAsync(CancellationToken ct = default);
    Task<Permiso?> GetByCodigoAsync(string codigo, CancellationToken ct = default);
    Task<IReadOnlyList<Permiso>> GetByCodigosAsync(IEnumerable<string> codigos, CancellationToken ct = default);
}
