source: ChapterX.Domain/Repositories/ILikesRepository.cs@ a6e33d1

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

Fixed reading lists,comments and likes

  • Property mode set to 100644
File size: 481 bytes
Line 
1using ChapterX.Domain.Entities;
2
3namespace ChapterX.Domain.Repositories
4{
5 public interface ILikesRepository : IRepository<Likes>
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);
10 }
11}
Note: See TracBrowser for help on using the repository browser.