예제 #1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="CreateSystemAdminRequestHandler" /> class.
 /// </summary>
 /// <param name="systemAccountRepository">The system account repository.</param>
 /// <param name="roleRepository">The role repository.</param>
 /// <param name="systemAccountIdentityServiceManager">The system account identity service manager.</param>
 public CreateSystemAdminRequestHandler(ISystemAccountRepository systemAccountRepository,
                                        IRoleRepository roleRepository,
                                        ISystemAccountIdentityServiceManager systemAccountIdentityServiceManager)
 {
     _systemAccountRepository             = systemAccountRepository;
     _roleRepository                      = roleRepository;
     _systemAccountIdentityServiceManager = systemAccountIdentityServiceManager;
 }
예제 #2
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="AssignAccountRequestHandler" /> class.
 /// </summary>
 /// <param name="systemAccountRepository">The system account repository.</param>
 /// <param name="dbConnectionFactory">The db connection factory.</param>
 /// <param name="systemAccountIdentityServiceManager">The system account identity service manager.</param>
 public AssignAccountRequestHandler(ISystemAccountRepository systemAccountRepository,
                                    IDbConnectionFactory dbConnectionFactory,
                                    ISystemAccountIdentityServiceManager systemAccountIdentityServiceManager)
 {
     _systemAccountRepository             = systemAccountRepository;
     _dbConnectionFactory                 = dbConnectionFactory;
     _systemAccountIdentityServiceManager = systemAccountIdentityServiceManager;
 }
예제 #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;
 }
 /// <summary>
 ///     Initializes a new instance of the <see cref="ChangePasswordRequestHandler" /> class.
 /// </summary>
 /// <param name="systemAccountRepository">The system account repository.</param>
 /// <param name="systemAccountIdentityServiceManager">The system account identity service manager.</param>
 public ChangePasswordRequestHandler(ISystemAccountRepository systemAccountRepository,
                                     ISystemAccountIdentityServiceManager systemAccountIdentityServiceManager)
 {
     _systemAccountRepository             = systemAccountRepository;
     _systemAccountIdentityServiceManager = systemAccountIdentityServiceManager;
 }
예제 #6
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="LockUnlockRequestHandler" /> class.
 /// </summary>
 /// <param name="systemAccountRepository">The system account repository.</param>
 /// <param name="systemAccountIdentityServiceManager">The system account identity service manager.</param>
 public LockUnlockRequestHandler(ISystemAccountRepository systemAccountRepository,
                                 ISystemAccountIdentityServiceManager systemAccountIdentityServiceManager)
 {
     _systemAccountRepository             = systemAccountRepository;
     _systemAccountIdentityServiceManager = systemAccountIdentityServiceManager;
 }