Changeset 73b69b2 for ChapterX.Domain/Repositories
- Timestamp:
- 03/24/26 22:13:36 (3 months ago)
- Branches:
- main
- Children:
- 7fbb91c
- Parents:
- acf690c
- Location:
- ChapterX.Domain/Repositories
- Files:
-
- 3 edited
-
ICommentRepository.cs (modified) (1 diff)
-
ILikesRepository.cs (modified) (1 diff)
-
IReadingListItemsRepository.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ChapterX.Domain/Repositories/ICommentRepository.cs
racf690c r73b69b2 6 6 { 7 7 Task<IEnumerable<Comment>> GetByChapterIdAsync(int chapterId, CancellationToken cancellationToken = default); 8 Task<IEnumerable<Comment>> GetByStoryIdAsync(int storyId, CancellationToken cancellationToken = default); 8 9 } 9 10 } -
ChapterX.Domain/Repositories/ILikesRepository.cs
racf690c r73b69b2 5 5 public interface ILikesRepository : IRepository<Likes> 6 6 { 7 Task<IEnumerable<Likes>> GetByStoryIdAsync(int storyId, CancellationToken cancellationToken = default); 8 Task<bool> DeleteByUserAndStoryAsync(int userId, int storyId, CancellationToken cancellationToken = default); 9 Task<bool> ExistsAsync(int userId, int storyId, CancellationToken cancellationToken = default); 7 10 } 8 11 } -
ChapterX.Domain/Repositories/IReadingListItemsRepository.cs
racf690c r73b69b2 6 6 { 7 7 Task<bool> ExistsAsync(int listId, int storyId, CancellationToken cancellationToken = default); 8 Task<bool> DeleteByListAndStoryAsync(int listId, int storyId, CancellationToken cancellationToken = default); 8 9 } 9 10 }
Note:
See TracChangeset
for help on using the changeset viewer.
