main
|
Last change
on this file since a8f4a2d was b373fea, checked in by kikisrbinoska <srbinoskakristina07@…>, 13 days ago |
|
Fixes for authentication and auhtorization\
|
-
Property mode
set to
100644
|
|
File size:
266 bytes
|
| Rev | Line | |
|---|
| [877c13c] | 1 | using MediatR;
|
|---|
| [b373fea] | 2 | using System.ComponentModel.DataAnnotations;
|
|---|
| [877c13c] | 3 |
|
|---|
| 4 | namespace ChapterX.Application.Comment.Commands
|
|---|
| 5 | {
|
|---|
| [b373fea] | 6 | public record AddRequest(
|
|---|
| 7 | [Required][MaxLength(2000)] string Content,
|
|---|
| 8 | int UserId,
|
|---|
| 9 | int StoryId
|
|---|
| 10 | ) : IRequest<AddResponse>;
|
|---|
| [877c13c] | 11 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.