mirror of
https://github.com/bitwarden/server.git
synced 2025-04-18 03:28:15 -05:00
WIP
This commit is contained in:
parent
c03190d672
commit
effd0b7d33
@ -5,6 +5,10 @@ using Bit.Core.Exceptions;
|
|||||||
|
|
||||||
namespace Bit.Core.OrganizationFeatures.OrganizationSponsorships.FamiliesForEnterprise.SponsorshipCreation;
|
namespace Bit.Core.OrganizationFeatures.OrganizationSponsorships.FamiliesForEnterprise.SponsorshipCreation;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Responsible for validating a request and building the <see cref="OrganizationSponsorship" /> entity to create a
|
||||||
|
/// sponsorship initiated by organization members with specific permissions to manage members/users.
|
||||||
|
/// </summary>
|
||||||
public class CreateAdminInitiatedSponsorshipHandler(
|
public class CreateAdminInitiatedSponsorshipHandler(
|
||||||
ICurrentContext currentContext) : BaseCreateSponsorshipHandler
|
ICurrentContext currentContext) : BaseCreateSponsorshipHandler
|
||||||
{
|
{
|
||||||
|
@ -8,6 +8,10 @@ using Bit.Core.Utilities;
|
|||||||
|
|
||||||
namespace Bit.Core.OrganizationFeatures.OrganizationSponsorships.FamiliesForEnterprise.SponsorshipCreation;
|
namespace Bit.Core.OrganizationFeatures.OrganizationSponsorships.FamiliesForEnterprise.SponsorshipCreation;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Responsible for validating a request and building the <see cref="OrganizationSponsorship" /> entity to create a
|
||||||
|
/// sponsorship.
|
||||||
|
/// </summary>
|
||||||
public class CreateSponsorshipHandler(
|
public class CreateSponsorshipHandler(
|
||||||
IUserService userService,
|
IUserService userService,
|
||||||
IOrganizationSponsorshipRepository organizationSponsorshipRepository) : BaseCreateSponsorshipHandler
|
IOrganizationSponsorshipRepository organizationSponsorshipRepository) : BaseCreateSponsorshipHandler
|
||||||
|
Loading…
x
Reference in New Issue
Block a user