refactor(UserLogin): Id umbenannt in UserId
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user