source: ChapterX.Application/Story/Commands/AddRequest.cs@ b373fea

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

Fixes for authentication and auhtorization\

  • Property mode set to 100644
File size: 384 bytes
RevLine 
[877c13c]1using MediatR;
[b373fea]2using System.ComponentModel.DataAnnotations;
[877c13c]3
4namespace ChapterX.Application.Story.Commands
5{
[b373fea]6 public record AddRequest(
7 bool MatureContent,
8 [Required][MaxLength(500)] string ShortDescription,
9 [MaxLength(2048)] string? Image,
10 [Required] string Content,
11 int UserId,
12 List<string> Genres
13 ) : IRequest<AddResponse>;
[877c13c]14}
Note: See TracBrowser for help on using the repository browser.