namespace Meezi.Core.Interfaces;

public interface IWebsiteService
{
    Task<(IReadOnlyList<object> Posts, int Total)> GetPostsAsync(
        string locale, int page, int limit, CancellationToken ct = default);
    Task<object?> GetPostAsync(string slug, string locale, CancellationToken ct = default);
    Task<IReadOnlyList<object>> GetCommentsAsync(string slug, CancellationToken ct = default);
    Task<object> AddCommentAsync(string slug, string authorName, string? email,
        string content, string? ip, CancellationToken ct = default);
    Task<object> CreateDemoRequestAsync(string contactName, string businessName,
        string phone, string? email, string branchCount, string? notes, string source,
        CancellationToken ct = default);
}
