source: ChapterX.Domain/Repositories/ICommentRepository.cs@ dc383dd

main
Last change on this file since dc383dd was 73b69b2, checked in by kikisrbinoska <srbinoskakristina07@…>, 3 months ago

Fixed reading lists,comments and likes

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