Пример #1
0
 public TerminalController(IUserService userService,
                           IFSINISettingRepository FSINISettingsRepository,
                           IUsersAccessUnitService cardService,
                           IControllerUpdateService controllerUpdateService,
                           IUserDepartmentService userDepartmentService,
                           ICurrentUser currentUser,
                           IUserRepository userRepository,
                           IRoleRepository roleRepository,
                           ITitleRepository titleRepository,
                           ICompanyRepository companyRepository,
                           ICountryRepository countryRepositorty,
                           ILocationRepository locationRepository,
                           IBuildingRepository buildingRepository,
                           IUsersAccessUnitRepository usersAccessUnitRepository,
                           ICompanyBuildingObjectRepository companyBuildingObjectRepository,
                           IBuildingObjectRepository buildingObjectRepository,
                           IDepartmentRepository departmentRepository,
                           IUserDepartmentRepository userDepartmentRepository,
                           IUserPermissionGroupService userPermissionGroupService,
                           IUserBuildingRepository userBuildingRepository,
                           IUserTimeZoneRepository userTimeZoneRepository,
                           IUserTimeZonePropertyRepository userTimeZonePropertyRepository,
                           IUserPermissionGroupRepository userPermissionGroupRepository,
                           IUserPermissionGroupTimeZoneRepository userPermissionGroupTimeZoneRepository,
                           IUsersAccessUnitService usersAccessUnitService,
                           IUserBuildingService userBuildingService,
                           IClassificatorValueRepository classificatorValueRepository, ILogService logService,
                           IBuildingObjectRepository buildingObjectepository,
                           ILogger logger) : base(currentUser, logger)
 {
     _FSINISettingsRepository               = FSINISettingsRepository;
     _controllerUpdateService               = controllerUpdateService;
     _userService                           = userService;
     _cardService                           = cardService;
     _usersAccessUnitRepository             = usersAccessUnitRepository;
     _userDepartmentService                 = userDepartmentService;
     _userRepository                        = userRepository;
     _roleRepository                        = roleRepository;
     _titleRepository                       = titleRepository;
     _companyRepository                     = companyRepository;
     _locationRepository                    = locationRepository;
     _countryRepository                     = countryRepositorty;
     _buildingRepository                    = buildingRepository;
     _companyBuildingObjectRepository       = companyBuildingObjectRepository;
     _departmentRepository                  = departmentRepository;
     _userDepartmentRepository              = userDepartmentRepository;
     _buildingObjectRepository              = buildingObjectRepository;
     _userBuildingRepository                = userBuildingRepository;
     _userPermissionGroupService            = userPermissionGroupService;
     _userTimeZoneRepository                = userTimeZoneRepository;
     _userTimeZonePropertyRepository        = userTimeZonePropertyRepository;
     _userPermissionGroupRepository         = userPermissionGroupRepository;
     _userPermissionGroupTimeZoneRepository = userPermissionGroupTimeZoneRepository;
     _userAccessUnitService                 = usersAccessUnitService;
     _classificatorValueRepository          = classificatorValueRepository;
     _userBuildingService                   = userBuildingService;
     _logService = logService;
     _BuildingObjectRepository = buildingObjectepository;
     _resourceManager          = new ResourceManager("FoxSec.Web.Resources.Views.Shared.SharedStrings", typeof(SharedStrings).Assembly);
 }
Пример #2
0
 public DepartmentController(
     IDepartmentService departmentService,
     UserManager <ApplicationUser> userManager,
     IUserDepartmentService userDepartmentService)
 {
     _departmentService     = departmentService;
     _userManager           = userManager;
     _userDepartmentService = userDepartmentService;
 }
Пример #3
0
 public DepartmentController(IDepartmentService departmentService,
                             ICompanyRepository companyRepository,
                             IUserDepartmentService userDepartmentService,
                             IDepartmentRepository departmentRepository,
                             ICompanyService companyService,
                             ICurrentUser currentUser,
                             IUserRepository userRepository,
                             IUserDepartmentRepository userDepartmentRepository,
                             IBuildingRepository buildingRepository,
                             ILogger logger) : base(currentUser, logger)
 {
     _companyService           = companyService;
     _companyRepository        = companyRepository;
     _userDepartmentService    = userDepartmentService;
     _userRepository           = userRepository;
     _departmentRepository     = departmentRepository;
     _departmentService        = departmentService;
     _currentUser              = currentUser;
     _userDepartmentRepository = userDepartmentRepository;
     _buildingRepository       = buildingRepository;
 }
Пример #4
0
 public UserController(IRepository <SysUser> repository, IRepository <SysUserDepartment> userDepartmentRepository, IUserDepartmentService userDepartmentService) : base(repository)
 {
     _userDepartmentRepository = userDepartmentRepository;
     _userDepartmentService    = userDepartmentService;
 }