idk something about efcore
This commit is contained in:
parent
751b08e805
commit
6732613466
8 changed files with 103 additions and 0 deletions
7
SurveyBackend/SurveyBackend.API/DTOs/UserLoginDTO.cs
Normal file
7
SurveyBackend/SurveyBackend.API/DTOs/UserLoginDTO.cs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
namespace SurveyBackend.DTOs;
|
||||
|
||||
public record UserLoginDTO
|
||||
{
|
||||
public string Email { get; set; }
|
||||
public string Password { get; set; }
|
||||
}
|
||||
10
SurveyBackend/SurveyBackend.API/DTOs/UserRegistrationDTO.cs
Normal file
10
SurveyBackend/SurveyBackend.API/DTOs/UserRegistrationDTO.cs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
namespace SurveyBackend.DTOs;
|
||||
|
||||
public record UserRegistrationDTO
|
||||
{
|
||||
public string Email { get; set; }
|
||||
public string Username { get; set; }
|
||||
public string FirstName { get; set; }
|
||||
public string LastName { get; set; }
|
||||
public string Password { get; set; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue