mirror of
https://github.com/bitwarden/server.git
synced 2025-04-07 05:58:13 -05:00
Moved into class
This commit is contained in:
parent
49e5e73d12
commit
3d92fcb08b
@ -10,10 +10,7 @@ public class CreateOrganizationUser
|
|||||||
public OrganizationUser OrganizationUser { get; set; }
|
public OrganizationUser OrganizationUser { get; set; }
|
||||||
public CollectionAccessSelection[] Collections { get; set; } = [];
|
public CollectionAccessSelection[] Collections { get; set; } = [];
|
||||||
public Guid[] Groups { get; set; } = [];
|
public Guid[] Groups { get; set; } = [];
|
||||||
}
|
|
||||||
|
|
||||||
public static class CreateOrganizationUserExtensions
|
|
||||||
{
|
|
||||||
public static Func<OrganizationUserInviteDto, CreateOrganizationUser> MapToDataModel(DateTimeOffset performedAt) =>
|
public static Func<OrganizationUserInviteDto, CreateOrganizationUser> MapToDataModel(DateTimeOffset performedAt) =>
|
||||||
o => new CreateOrganizationUser
|
o => new CreateOrganizationUser
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user