source: ChapterX.Domain/Repositories/IChapterRepository.cs@ b373fea

main
Last change on this file since b373fea was b373fea, checked in by kikisrbinoska <srbinoskakristina07@…>, 12 days ago

Fixes for authentication and auhtorization\

  • Property mode set to 100644
File size: 366 bytes
Line 
1using ChapterX.Domain.Entities;
2
3namespace ChapterX.Domain.Repositories
4{
5 public interface IChapterRepository : IRepository<Chapter>
6 {
7 Task<IEnumerable<Chapter>> GetByStoryIdAsync(int storyId, CancellationToken cancellationToken = default);
8 Task<Chapter?> GetByIdWithStoryAsync(int id, CancellationToken cancellationToken = default);
9 }
10}
Note: See TracBrowser for help on using the repository browser.