mirror of
https://github.com/bitwarden/server
synced 2026-02-22 12:23:37 +00:00
18 lines
378 B
C#
18 lines
378 B
C#
using Bit.Core.AdminConsole.Entities;
|
|
using Bit.Core.Utilities;
|
|
|
|
namespace Bit.Seeder.Factories;
|
|
|
|
internal static class GroupSeeder
|
|
{
|
|
internal static Group Create(Guid organizationId, string name)
|
|
{
|
|
return new Group
|
|
{
|
|
Id = CoreHelpers.GenerateComb(),
|
|
OrganizationId = organizationId,
|
|
Name = name
|
|
};
|
|
}
|
|
}
|