Add tenant id property to user
This commit is contained in:
parent
e25a982b55
commit
23a5ef9bfc
@ -9,6 +9,7 @@ namespace Core.Thalos.Application.UseCases.Users.Input
|
||||
public string MiddleName { get; set; } = null!;
|
||||
public string LastName { get; set; } = null!;
|
||||
public string RoleId { get; set; } = null!;
|
||||
public string TenantId { get; set; } = null!;
|
||||
public bool SendInvitation { get; set; }
|
||||
|
||||
public bool Validate()
|
||||
|
||||
@ -196,6 +196,7 @@ namespace Core.Thalos.Application.UseCases.Users
|
||||
MiddleName = command.MiddleName,
|
||||
LastName = command.LastName,
|
||||
RoleId = command.RoleId,
|
||||
TenantId = command.TenantId,
|
||||
};
|
||||
|
||||
var result = await _thalosDALService.CreateUserAsync(request, command.SendInvitation, cancellationToken).ConfigureAwait(false);
|
||||
|
||||
@ -7,5 +7,6 @@
|
||||
public string? MiddleName { get; set; }
|
||||
public string LastName { get; set; } = null!;
|
||||
public string RoleId { get; set; } = null!;
|
||||
public string TenantId { get; set; } = null!;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user