using SportsDivision.Application.DTOs;
using SportsDivision.Domain.Enums;
namespace SportsDivision.Application.Interfaces;
public interface IHeatManagementService { Task<RoundDto> CreateRoundAsync(RoundCreateDto dto); Task<IEnumerable<RoundDto>> GetRoundsAsync(int tournamentEventLevelId); Task<RoundDto?> GetRoundWithHeatsAsync(int roundId); Task SeedHeatsAsync(int roundId, SeedingMethod method, int lanesPerHeat = 8); Task SaveHeatTimesAsync(int heatId, List<HeatLaneUpdateDto> lanes, string recordedBy); Task CalculateAdvancementAsync(int roundId); Task PopulateNextRoundAsync(int roundId); Task CompleteHeatAsync(int heatId); Task CompleteRoundAsync(int roundId); }
