Register endpoint finished
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
namespace TimetableDesigner.Backend.Services.Authentication.DTO.API;
|
||||
|
||||
public class RegisterRequest
|
||||
{
|
||||
public string Email { get; set; } = null!;
|
||||
public string Password { get; set; } = null!;
|
||||
public string PasswordConfirmation { get; set; } = null!;
|
||||
}
|
||||
public record RegisterRequest(
|
||||
string Email,
|
||||
string Password,
|
||||
string PasswordConfirmation
|
||||
);
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace TimetableDesigner.Backend.Services.Authentication.DTO.API;
|
||||
|
||||
public class RegisterResponse
|
||||
{
|
||||
|
||||
}
|
||||
public record RegisterResponse(
|
||||
long Id,
|
||||
string Email
|
||||
);
|
||||
Reference in New Issue
Block a user