using SportsDivision.Domain.Entities;

namespace SportsDivision.Domain.Interfaces;

public interface IStudentRepository : IRepository<Student>
{
    Task<Student?> GetByExistingIdAsync(string existingStudentId);
    Task<IEnumerable<Student>> GetBySchoolAsync(int schoolId);
    Task<Student?> GetWithRegistrationsAsync(int studentId);
    Task<IEnumerable<Student>> SearchAsync(string searchTerm);
}
