Register endpoint finished

This commit is contained in:
2026-01-14 01:37:46 +01:00
Unverified
parent 2b9ddef055
commit 831394ae0e
9 changed files with 64 additions and 31 deletions

View File

@@ -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
);

View File

@@ -1,6 +1,6 @@
namespace TimetableDesigner.Backend.Services.Authentication.DTO.API;
public class RegisterResponse
{
}
public record RegisterResponse(
long Id,
string Email
);