using RutasDBUS.Modelos.Historial;

namespace RutasDBUS.Servicios.Historial;

public interface IHistorialRutasCompartidoService
{
    Task<IReadOnlyList<RegistroHistorialRuta>> ObtenerAsync(CancellationToken ct = default);
    Task<RegistroHistorialRuta> GuardarAsync(RegistroHistorialRuta registro, CancellationToken ct = default);
    Task<bool> EliminarAsync(string id, CancellationToken ct = default);
}
