Changeset b62cefc for ChapterX.Application/AISuggestion/Commands
- Timestamp:
- 03/19/26 23:26:14 (4 months ago)
- Branches:
- main
- Children:
- acf690c
- Parents:
- e294f7d
- Location:
- ChapterX.Application/AISuggestion/Commands
- Files:
-
- 3 edited
-
AddHandler.cs (modified) (1 diff)
-
UpdateHandler.cs (modified) (1 diff)
-
UpdateRequest.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ChapterX.Application/AISuggestion/Commands/AddHandler.cs
re294f7d rb62cefc 23 23 SuggestedText = request.SuggestedText, 24 24 StoryId = request.StoryId, 25 Accepted = false,25 Accepted = null, 26 26 CreatedAt = DateTime.UtcNow 27 27 }; -
ChapterX.Application/AISuggestion/Commands/UpdateHandler.cs
re294f7d rb62cefc 25 25 suggestion.SuggestedText = request.SuggestedText; 26 26 suggestion.Accepted = request.Accepted; 27 if (request.Accepted )27 if (request.Accepted == true) 28 28 suggestion.AppliedAt = DateTime.UtcNow; 29 29 -
ChapterX.Application/AISuggestion/Commands/UpdateRequest.cs
re294f7d rb62cefc 7 7 string OriginalText, 8 8 string SuggestedText, 9 bool Accepted9 bool? Accepted 10 10 ) : IRequest<UpdateResponse>; 11 11 }
Note:
See TracChangeset
for help on using the changeset viewer.
