public UserDeprecatedController(IMapper mapper,
                                 IUnitOfWork unitOfWork,
                                 ShroomsUserManager userManager,
                                 IImpersonateService impersonateService,
                                 IAdministrationUsersService administrationUsersService,
                                 IPermissionService permissionService,
                                 IOrganizationService organizationService,
                                 IUserService userService,
                                 ICustomCache <string, IEnumerable <string> > permissionsCache,
                                 IRoleService roleService,
                                 IProjectsService projectService,
                                 IKudosService kudosService,
                                 IPictureService pictureService)
 {
     _mapper                       = mapper;
     _unitOfWork                   = unitOfWork;
     _roomRepository               = _unitOfWork.GetRepository <Room>();
     _applicationUserRepository    = _unitOfWork.GetRepository <ApplicationUser>();
     _rolesRepository              = unitOfWork.GetRepository <ApplicationRole>();
     _examsRepository              = _unitOfWork.GetRepository <Exam>();
     _skillsRepository             = _unitOfWork.GetRepository <Skill>();
     _jobPositionsRepository       = _unitOfWork.GetRepository <JobPosition>();
     _qualificationLevelRepository = _unitOfWork.GetRepository <QualificationLevel>();
     _impersonateService           = impersonateService;
     _administrationUsersService   = administrationUsersService;
     _permissionService            = permissionService;
     _organizationService          = organizationService;
     _permissionsCache             = permissionsCache;
     _userService                  = userService;
     _userManager                  = userManager;
     _roleService                  = roleService;
     _projectService               = projectService;
     _kudosService                 = kudosService;
     _pictureService               = pictureService;
 }
Esempio n. 2
0
 public UserController(
     IUserDataService userDataService,
     IManageUserService manageUserService,
     IAddUserService addUserService,
     ISessionService sessionService,
     IImpersonateService impersonateService)
 {
     _userDataService    = userDataService;
     _manageUserService  = manageUserService;
     _addUserService     = addUserService;
     _sessionService     = sessionService;
     _impersonateService = impersonateService;
 }
Esempio n. 3
0
        public UserController(
            IGroupUserDataService groupUserDataService,
            IGroupUserService groupUserService,
            IManageUserService manageUserService,
            IImpersonateService impersonateService,
            IGroupAdminUserDataService groupAdminUserDataService,
            IOptions <IdentityUIClaimOptions> identityUICalimOptions,
            IOptions <IdentityUIEndpoints> identityUIEndpoints)
        {
            _groupUserDataService = groupUserDataService;
            _groupUserService     = groupUserService;

            _manageUserService  = manageUserService;
            _impersonateService = impersonateService;

            _groupAdminUserDataService = groupAdminUserDataService;

            _identityUIClaimOptions = identityUICalimOptions.Value;
            _identityUIEndpoints    = identityUIEndpoints.Value;
        }
Esempio n. 4
0
 public ImpersonationController(IImpersonateService impersonateService, IOptions <IdentityUIEndpoints> identityUIEndpoints)
 {
     _impersonateService  = impersonateService;
     _identityUIEndpoints = identityUIEndpoints.Value;
 }