- Timestamp:
- 03/22/26 17:58:40 (4 months ago)
- Branches:
- main
- Children:
- 73b69b2
- Parents:
- b62cefc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ChapterX.Infrastructure/Repositories/ReadingListItemsRepository.cs
rb62cefc racf690c 2 2 using ChapterX.Domain.Repositories; 3 3 using ChapterX.Infrastructure.Data.DataContext; 4 using System; 5 using System.Collections.Generic; 6 using System.Linq; 7 using System.Text; 8 using System.Threading.Tasks; 4 using Microsoft.EntityFrameworkCore; 9 5 10 6 namespace ChapterX.Infrastructure.Repositories … … 15 11 { 16 12 } 13 14 public async Task<bool> ExistsAsync(int listId, int storyId, CancellationToken cancellationToken = default) 15 => await _dbSet.AnyAsync(i => i.ListId == listId && i.StoryId == storyId, cancellationToken); 17 16 } 18 17 }
Note:
See TracChangeset
for help on using the changeset viewer.
