public OrganizationInviteRequestService(
     IOptions <OrganizationInviteRequestSettings> options,
     IJobRepository <OrganizationInviteRequest> requestRepository,
     IJobRepository <Email> emailRepository,
     IClient bugsnagClient)
 {
     this.requestRepository = requestRepository;
     this.emailRepository   = emailRepository;
     this.bugsnagClient     = bugsnagClient;
     this.settings          = options.Value;
 }
Esempio n. 2
0
 public OrganizationInviteRequestService(
     ITranslator translator,
     IOptions <OrganizationInviteRequestSettings> options,
     IJobRepository <OrganizationInviteRequest> requestRepository,
     IJobRepository <Email> emailRepository,
     IJobRepository <UserRole> userRolesRepository)
 {
     this.translator          = translator;
     this.requestRepository   = requestRepository;
     this.emailRepository     = emailRepository;
     this.userRolesRepository = userRolesRepository;
     this.settings            = options.Value;
 }
 public OrganizationMembershipInviteService(
     CurrentUserRepository currentUserRepository,
     IJsonApiContext jsonApiContext,
     IEntityRepository <OrganizationMembershipInvite> organizationMembershipInviteRepository,
     IEntityRepository <OrganizationMembership> organizationMembershipRepository,
     ILoggerFactory loggerFactory,
     IBackgroundJobClient backgroundJobClient,
     IJobRepository <Email> emailRepository,
     ITranslator translator,
     IOptions <OrganizationInviteRequestSettings> options
     ) : base(jsonApiContext, organizationMembershipInviteRepository, loggerFactory)
 {
     this.currentUserRepository = currentUserRepository;
     this.backgroundJobClient   = backgroundJobClient;
     this.organizationMembershipInviteRepository = organizationMembershipInviteRepository;
     this.organizationMembershipRepository       = organizationMembershipRepository;
     this.emailRepository = emailRepository;
     this.settings        = options.Value;
     this.translator      = translator;
 }