public string UserId { get { if (_userId == null) { } { var claimsUser = (ClaimsPrincipal)User; var id = claimsUser?.FindFirst(ClaimTypes.NameIdentifier); if(id != null) _userId = id.Value; } return _userId; } } There seems to be an extra `{ }` on the `if` line - do you agree?
There seems to be an extra
{ }on theifline - do you agree?