namespace TaxBaik.Domain.Interfaces;

using TaxBaik.Domain.Entities;

public interface IFaqRepository
{
    Task<IEnumerable<Faq>> GetActiveAsync(CancellationToken ct = default);
    Task<IEnumerable<Faq>> GetAllAsync(CancellationToken ct = default);
    Task<Faq?> GetByIdAsync(int id, CancellationToken ct = default);
    Task<int> CreateAsync(Faq faq, CancellationToken ct = default);
    Task UpdateAsync(Faq faq, CancellationToken ct = default);
    Task DeleteAsync(int id, CancellationToken ct = default);
}
