source: ChapterX.Application/Comment/Commands/AddRequest.cs@ 0b502c2

main
Last change on this file since 0b502c2 was b373fea, checked in by kikisrbinoska <srbinoskakristina07@…>, 13 days ago

Fixes for authentication and auhtorization\

  • Property mode set to 100644
File size: 266 bytes
Line 
1using MediatR;
2using System.ComponentModel.DataAnnotations;
3
4namespace 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.