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