Changeset acf690c for ChapterX.Application/ReadingListItems
- Timestamp:
- 03/22/26 17:58:40 (4 months ago)
- Branches:
- main
- Children:
- 73b69b2
- Parents:
- b62cefc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ChapterX.Application/ReadingListItems/Commands/AddHandler.cs
rb62cefc racf690c 18 18 public async Task<AddResponse> Handle(AddRequest request, CancellationToken cancellationToken) 19 19 { 20 var exists = await _readingListItemsRepository.ExistsAsync(request.ReadingListId, request.StoryId, cancellationToken); 21 if (exists) 22 throw new InvalidOperationException("Story is already in this reading list."); 23 20 24 var readingListItems = new Domain.Entities.ReadingListItems 21 25 {
Note:
See TracChangeset
for help on using the changeset viewer.
