Add one long hierarchical method, change some return codes

This commit is contained in:
2025-10-09 20:30:39 +03:00
parent 96a5e764c2
commit 30cb0521f6
8 changed files with 108 additions and 11 deletions

View File

@@ -1,4 +1,6 @@
using System.ComponentModel.DataAnnotations;
namespace T120B165_ImgBoard.Dtos.Comment;
public record CreateCommentDto(string Text);
public record EditCommentDto(string Text);
public record CreateCommentDto([Required] string Text);
public record EditCommentDto([Required] string Text);