Feature/Auth: implement user authentication #3
15
api/src/Models/Dto.cs
Normal file
15
api/src/Models/Dto.cs
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
public class RegisterDto {
|
||||||
|
|
||||||
|
public string Username { get; set; } = "";
|
||||||
|
public string Email { get; set; } = "";
|
||||||
|
public string Password { get; set; } = "";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public class LoginDto {
|
||||||
|
|
||||||
|
public string Username { get; set; } = "";
|
||||||
|
public string Password { get; set; } = "";
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user