Ignore:
Timestamp:
06/23/26 15:20:39 (12 days ago)
Author:
kikisrbinoska <srbinoskakristina07@…>
Branches:
main
Children:
0b502c2
Parents:
d300631
Message:

Fixes for authentication and auhtorization\

File:
1 edited

Legend:

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

    rd300631 rb373fea  
    2424                .ToListAsync(cancellationToken);
    2525        }
     26
     27        public async Task<Chapter?> GetByIdWithStoryAsync(int id, CancellationToken cancellationToken = default)
     28        {
     29            return await _dbSet
     30                .Include(c => c.Story)
     31                .FirstOrDefaultAsync(c => c.Id == id, cancellationToken);
     32        }
    2633    }
    2734}
Note: See TracChangeset for help on using the changeset viewer.