Ignore:
Timestamp:
03/24/26 23:03:39 (3 months ago)
Author:
kikisrbinoska <srbinoskakristina07@…>
Branches:
main
Children:
a7550ca
Parents:
73b69b2
Message:

Added functional collaboration between users

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ChapterX.Infrastructure/Repositories/UserRepository.cs

    r73b69b2 r7fbb91c  
    1212        }
    1313
     14        public override async Task<IEnumerable<User>> GetAllAsync(CancellationToken cancellationToken = default)
     15            => await _dbSet
     16                .Include(u => u.Admin)
     17                .Include(u => u.Writer)
     18                .ToListAsync(cancellationToken);
     19
    1420        public async Task<User?> GetByEmailAsync(string email, CancellationToken cancellationToken = default)
    1521            => await _dbSet
Note: See TracChangeset for help on using the changeset viewer.