diff options
Diffstat (limited to 'DTOs')
-rw-r--r-- | DTOs/LoginRequest.cs | 8 | ||||
-rw-r--r-- | DTOs/UserDTO.cs | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/DTOs/LoginRequest.cs b/DTOs/LoginRequest.cs new file mode 100644 index 0000000..9bbef43 --- /dev/null +++ b/DTOs/LoginRequest.cs @@ -0,0 +1,8 @@ +namespace IdentityAPI.DTOs { + public class LoginRequest { + #nullable enable + public string? Email { get; set; } + public string? Password { get; set; } + #nullable disable + } +}
\ No newline at end of file diff --git a/DTOs/UserDTO.cs b/DTOs/UserDTO.cs index 9336817..963c3fe 100644 --- a/DTOs/UserDTO.cs +++ b/DTOs/UserDTO.cs @@ -1,9 +1,9 @@ -namespace IdentityAPI.DTO { +namespace IdentityAPI.DTOs { public class UserDTO { - #nullable enable + #nullable enable public string? UserName { get; set; } - public string? Email { get; set; } + public string? Email { get; set; } public string? Password { get; set; } - #nullable disable + #nullable disable } } |