shopping-assistant-api/ShoppingAssistantApi.Application/IRepositories/IMessagerepository.cs

10 lines
366 B
C#

using System.Linq.Expressions;
using ShoppingAssistantApi.Domain.Entities;
namespace ShoppingAssistantApi.Application.IRepositories;
public interface IMessagesRepository : IBaseRepository<Message>
{
Task<List<Message>> GetPageStartingFromEndAsync(int pageNumber, int pageSize, Expression<Func<Message, bool>> predicate, CancellationToken cancellationToken);
}