using MongoDB.Bson; using ShoppingAssistantApi.Domain.Entities; using System.Linq.Expressions; namespace ShoppingAssistantApi.Application.IRepositories; public interface IUsersRepository : IBaseRepository { Task GetUserAsync(ObjectId id, CancellationToken cancellationToken); Task GetUserAsync(Expression> predicate, CancellationToken cancellationToken); Task UpdateUserAsync(User user, CancellationToken cancellationToken); }