Changeset b373fea for ChapterX.Application/Comment/Commands/AddRequest.cs
- Timestamp:
- 06/23/26 15:20:39 (12 days ago)
- Branches:
- main
- Children:
- 0b502c2
- Parents:
- d300631
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ChapterX.Application/Comment/Commands/AddRequest.cs
rd300631 rb373fea 1 1 using MediatR; 2 using System.ComponentModel.DataAnnotations; 2 3 3 4 namespace ChapterX.Application.Comment.Commands 4 5 { 5 public record AddRequest(string Content, int UserId, int StoryId) : IRequest<AddResponse>; 6 public record AddRequest( 7 [Required][MaxLength(2000)] string Content, 8 int UserId, 9 int StoryId 10 ) : IRequest<AddResponse>; 6 11 }
Note:
See TracChangeset
for help on using the changeset viewer.
