Added models for presentation layer with data annotations
This commit is contained in:
		| @@ -1,5 +1,9 @@ | ||||
| using ApplicationLayer.Services.AuthServices.Common; | ||||
| using System.ComponentModel.DataAnnotations; | ||||
| using ApplicationLayer.Services.AuthServices.Common; | ||||
|  | ||||
| namespace ApplicationLayer.Services.AuthServices.Requests; | ||||
|  | ||||
| public record RegisterRequest(AuthData AuthData); | ||||
| public class RegisterRequest | ||||
| { | ||||
|     [Required] public AuthData AuthData { get; set; } = null!; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user