IUserRepository.cs
295 bytes
| 1 | using App.Domain.Identity; |
|---|---|
| 2 | using Base.Contracts; |
| 3 | |
| 4 | namespace App.Domain.Contracts; |
| 5 | |
| 6 | public interface IUserRepository : IBaseRepository<AppUser> |
| 7 | { |
| 8 | Task<int> CountAsync(); |
| 9 | Task<IEnumerable<AppUser>> GetRecentAsync(int take); |
| 10 | Task<AppUser?> GetByIdWithRefreshTokensAsync(Guid userId); |
| 11 | } |
| 12 | |