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

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

Fixes for authentication and auhtorization\

  • Property mode set to 100644
File size: 366 bytes
RevLine 
[877c13c]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);
[b373fea]8 Task<Chapter?> GetByIdWithStoryAsync(int id, CancellationToken cancellationToken = default);
[877c13c]9 }
10}
Note: See TracBrowser for help on using the repository browser.