source: ChapterX.Application/Story/Commands/AddRequest.cs@ 3ae4bab

main
Last change on this file since 3ae4bab was 99c1e45, checked in by kikisrbinoska <srbinoskakristina07@…>, 12 days ago

Fixed writer section and admin management

  • Property mode set to 100644
File size: 433 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,
[99c1e45]8 [Required][MaxLength(200)] string Title,
[b373fea]9 [Required][MaxLength(500)] string ShortDescription,
10 [MaxLength(2048)] string? Image,
11 [Required] string Content,
12 int UserId,
13 List<string> Genres
14 ) : IRequest<AddResponse>;
[877c13c]15}
Note: See TracBrowser for help on using the repository browser.