using SportsDivision.Application.DTOs;
using SportsDivision.Domain.Enums;
namespace SportsDivision.Application.Interfaces;
public interface ISchoolService { Task<IEnumerable<SchoolDto>> GetAllAsync(); Task<SchoolDto?> GetByIdAsync(int id); Task<IEnumerable<SchoolDto>> GetByZoneAsync(int zoneId); Task<IEnumerable<SchoolDto>> GetBySchoolLevelAsync(SchoolLevel level); Task<SchoolDto> CreateAsync(SchoolCreateDto dto); Task UpdateAsync(SchoolUpdateDto dto); Task DeleteAsync(int id); }
