Add one long hierarchical method, change some return codes
This commit is contained in:
@@ -3,8 +3,11 @@ using System.ComponentModel.DataAnnotations;
|
||||
namespace T120B165_ImgBoard.Dtos;
|
||||
|
||||
public record RegisterDto(
|
||||
[Required]
|
||||
string UserName,
|
||||
[EmailAddress]
|
||||
[Required]
|
||||
string Email,
|
||||
[Required]
|
||||
string Password
|
||||
);
|
||||
Reference in New Issue
Block a user