source: ChapterX.Application/Comment/Commands/AddRequest.cs@ a6e33d1

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

Fixes for authentication and auhtorization\

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