using SportsDivision.Application.DTOs;
using SportsDivision.Domain.Enums;
namespace SportsDivision.Application.Interfaces;
public interface IEventService { Task<IEnumerable<EventDto>> GetAllAsync(); Task<EventDto?> GetByIdAsync(int id); Task<IEnumerable<EventDto>> GetByCategoryAsync(EventCategory category); Task<EventDto> CreateAsync(EventCreateDto dto); Task UpdateAsync(EventUpdateDto dto); Task DeleteAsync(int id); }
