using System.Linq.Expressions; using MongoDB.Bson; using ShoppingAssistantApi.Domain.Entities; namespace ShoppingAssistantApi.Application.IRepositories; public interface IMessagesRepository : IBaseRepository { Task> GetPageStartingFromEndAsync(int pageNumber, int pageSize, Expression> predicate, CancellationToken cancellationToken); Task> GetWishlistMessagesAsync(ObjectId wishlistId, CancellationToken cancellationToken); }