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