main
|
Last change
on this file since 0b502c2 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
|
| Rev | Line | |
|---|
| [877c13c] | 1 | using ChapterX.Domain.Entities;
|
|---|
| 2 |
|
|---|
| 3 | namespace ChapterX.Domain.Repositories
|
|---|
| 4 | {
|
|---|
| 5 | public interface ILikesRepository : IRepository<Likes>
|
|---|
| 6 | {
|
|---|
| [73b69b2] | 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);
|
|---|
| [877c13c] | 10 | }
|
|---|
| 11 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.