using System.Collections.Generic;
using EventsAppQuest.Domain.Models;

namespace EventsAppQuest.Application.Services
{
    /// <summary>
    /// Contrato para servico de templates de eventos.
    /// </summary>
    public interface ITemplateService
    {
        IReadOnlyList<EventTemplate> GetAll();
        EventTemplate GetById(string id);

        /// <summary>Templates da categoria; se categoryId for null ou vazio, retorna todos (comportamento definido pela implementacao).</summary>
        IReadOnlyList<EventTemplate> GetByCategoryId(string categoryId);
    }
}
