check in all the work is good to go now.
This commit is contained in:
@@ -42,6 +42,9 @@ namespace CarParkValidationAPI.Models
|
||||
public int ValidationPointID { get; set; }
|
||||
|
||||
public bool Active { get; set; }
|
||||
public string StaffFirstName { get; set; }
|
||||
public string StaffLastName { get; set; }
|
||||
public string StaffEmail { get; set; }
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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