using Journal.Core.Models;

namespace Journal.Core.Repositories;

public interface IConversationRepository
{
    List<Conversation> GetAll();
    Conversation? GetById(Guid id);
    void Add(Conversation conversation);
    bool Update(Guid id, string? title = null);
    bool Remove(Guid id);
    void AddMessage(ConversationMessage message);
    List<ConversationMessage> GetMessages(Guid conversationId);
}
