using CalledIt.Domain.Dtos;

namespace CalledIt.Domain.Services;

public interface IMatchService
{
    Task<MatchResponseDto> CreateAsync(CreateMatchDto dto);
    Task<MatchResponseDto> GetByIdAsync(int id);
    Task<IReadOnlyList<MatchResponseDto>> GetByCompetitionIdAsync(int competitionId);
    Task<IReadOnlyList<MatchResponseDto>> GetPendingResultsAsync();
    Task<MatchResponseDto> UpdateAsync(int id, UpdateMatchDto dto);
    Task DeleteAsync(int id);
}
