Interface IUserRepository
Namespace: Identity.Domain.Aggregates.UserAggregate
Assembly: Identity.Domain.dll
public interface IUserRepository : IRepository<User>
Implements
Methods
GetAllByPredicate\(Expression<Func<User, bool\>\>\)
Task<IEnumerable<User>> GetAllByPredicate(Expression<Func<User, bool>> expression)
Parameters
expression Expression < Func < User, bool \>\>
Returns
Task < IEnumerable < User \>\>
GetAsync\(Expression<Func<User, bool\>\>\)
Task<User?> GetAsync(Expression<Func<User, bool>> expression)
Parameters
expression Expression < Func < User, bool \>\>
Returns
GetByEmail\(string\)
Task<User?> GetByEmail(string email)
Parameters
email string
Returns
GetByGuidListAsync\(IEnumerable<Guid\>\)
Task<IEnumerable<User>> GetByGuidListAsync(IEnumerable<Guid> userIds)
Parameters
userIds IEnumerable < Guid \>
Returns
Task < IEnumerable < User \>\>
GetByPasswordResetToken\(string\)
Task<User?> GetByPasswordResetToken(string resetToken)
Parameters
resetToken string
Returns
GetByUsername\(string\)
Task<User?> GetByUsername(string username)
Parameters
username string
Returns
GetHighestSortingIndexUserAsync\(Guid\)
Task<User?> GetHighestSortingIndexUserAsync(Guid userId)
Parameters
userId Guid
Returns
GetListAsync\(Expression<Func<User, bool\>\>\)
Task<IEnumerable<User>> GetListAsync(Expression<Func<User, bool>> expression)
Parameters
expression Expression < Func < User, bool \>\>
Returns
Task < IEnumerable < User \>\>
Last modified: 21 May 2024