|
@@ -31,11 +31,11 @@ public record UserDto : AddUserDto
|
|
|
|
|
|
public OrgDto Organization { get; set; }
|
|
|
|
|
|
- public DateTime? AccountLockoutEnd { get; set; }
|
|
|
+ //public DateTime? AccountLockoutEnd { get; set; }
|
|
|
|
|
|
- public bool AccountLockoutEnabled { get; set; }
|
|
|
+ //public bool? AccountLockoutEnabled { get; set; }
|
|
|
|
|
|
- public bool IsNormal => AccountLockoutEnabled && AccountLockoutEnd >= DateTime.Now ? false : true;
|
|
|
+ //public bool? IsNormal => AccountLockoutEnabled == true && AccountLockoutEnd >= DateTime.Now ? false : true;
|
|
|
}
|
|
|
|
|
|
public record AddUserDto
|