source: ChapterX.Domain/Repositories/IChapterRepository.cs@ 99c1e45

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

Fixed writer section and admin management

  • Property mode set to 100644
File size: 459 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);
[99c1e45]9 Task IncrementViewCountAsync(int id, CancellationToken cancellationToken = default);
[877c13c]10 }
11}
Note: See TracBrowser for help on using the repository browser.