check in all the work is good to go now.
This commit is contained in:
@@ -10,13 +10,14 @@ namespace CarParkValidationAPI.Models.Users
|
||||
public string Username { get; set; }
|
||||
public AdminRole Role { get; set; }
|
||||
public string Token { get; set; }
|
||||
|
||||
public string Email { get; set; }
|
||||
public AuthenticateResponse(User user, string token)
|
||||
{
|
||||
Id = user.Id;
|
||||
FirstName = user.FirstName;
|
||||
LastName = user.LastName;
|
||||
Username = user.Username;
|
||||
Email = user.Email;
|
||||
Role = user.Role;
|
||||
Token = token;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user