using SportsDivision.Domain.Entities;

namespace SportsDivision.Domain.Interfaces;

public interface IEventRegistrationRepository : IRepository<EventRegistration>
{
    Task<IEnumerable<EventRegistration>> GetByTournamentEventLevelAsync(int tournamentEventLevelId);
    Task<IEnumerable<EventRegistration>> GetByStudentAsync(int studentId);
    Task<bool> IsStudentRegisteredAsync(int tournamentEventLevelId, int studentId);
    Task<IEnumerable<EventRegistration>> GetBySchoolAndTournamentAsync(int schoolId, int tournamentId);
}
