refactor(UserLogin): Id umbenannt in UserId

This commit is contained in:
Developer 02
2025-03-10 17:05:05 +01:00
parent 85ccc52ca1
commit 583864469c
2 changed files with 5 additions and 6 deletions

View File

@@ -1,6 +1,3 @@
namespace DigitalData.Auth.API.Dto;
public record UserLogin(string Password, int? Id = null, string? Username = null)
{
public bool Valid => Id is not null || !string.IsNullOrWhiteSpace(Username);
};
public record UserLogin(string Password, int? UserId = null, string? Username = null);