Exemple #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CreateSystemAccountRequestHandler"/> class.
        /// </summary>
        /// <param name="configProvider">The config provider.</param>
        /// <param name="systemAcccountFactory">The system acccount factory.</param>
        public CreateSystemAccountRequestHandler(IConfigurationPropertiesProvider configProvider, ISystemAccountFactory systemAcccountFactory)
        {
            _configProvider        = configProvider;
            _systemAcccountFactory = systemAcccountFactory;

            LoadConfiguration();
        }
Exemple #2
0
 public CreateSystemAdminRequestHandler(ISystemAccountRepository systemAccountRepository,
                                        IRoleRepository roleRepository,
                                        ISystemAccountFactory systemAccountFactory,
                                        ISystemAccountIdentityServiceManager systemAccountIdentityServiceManager)
 {
     _systemAccountRepository             = systemAccountRepository;
     _roleRepository                      = roleRepository;
     _systemAccountFactory                = systemAccountFactory;
     _systemAccountIdentityServiceManager = systemAccountIdentityServiceManager;
 }
Exemple #3
0
 public AssignAccountRequestHandler(ISystemAccountRepository systemAccountRepository,
                                    IStaffRepository staffRepository,
                                    IOrganizationRepository organizationRepository,
                                    ISystemAccountFactory systemAccountFactory,
                                    ISystemAccountIdentityServiceManager systemAccountIdentityServiceManager)
 {
     _systemAccountRepository             = systemAccountRepository;
     _staffRepository                     = staffRepository;
     _organizationRepository              = organizationRepository;
     _systemAccountFactory                = systemAccountFactory;
     _systemAccountIdentityServiceManager = systemAccountIdentityServiceManager;
 }
 public CreateOrganizationAdminRequestHandler(ISystemAccountRepository systemAccountRepository,
                                              IRoleFactory roleFactory,
                                              IOrganizationRepository organizationRepository,
                                              ISystemAccountFactory systemAccountFactory,
                                              ISystemAccountIdentityServiceManager systemAccountIdentityServiceManager)
 {
     _systemAccountRepository             = systemAccountRepository;
     _roleFactory                         = roleFactory;
     _organizationRepository              = organizationRepository;
     _systemAccountFactory                = systemAccountFactory;
     _systemAccountIdentityServiceManager = systemAccountIdentityServiceManager;
 }