using SIGCM.Domain.Entities;

namespace SIGCM.Domain.Interfaces;

public interface IListingNoteRepository
{
    Task<int> CreateAsync(ListingNote note);
    Task<IEnumerable<ListingNote>> GetByListingIdAsync(int listingId);
    Task<IEnumerable<ListingNote>> GetByUserIdAsync(int userId);
    Task MarkAsReadAsync(int noteId);
    Task<int> GetUnreadCountAsync(int userId, bool isForModerator);
}
