profileShare

rasmusjy / splitapp-backend-modular-monolith

Read-only snapshot

No repository description.

main default branch 418 files Expires Sep 13, 2026, 9:06 AM
IUserRepository.cs 437 bytes
1 using SplitApp.Modules.Users.Domain.Entities;
2 using SplitApp.Shared.Kernel.Persistence;
3
4 namespace SplitApp.Modules.Users.Application.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 Task<IReadOnlyList<AppUser>> GetByIdsAsync(IReadOnlyCollection<Guid> ids);
12 }
13