Esempio n. 1
0
 public RoleController(IRoleService roleService,
                       ICurrentUser currentUser,
                       IRoleRepository roleRepository,
                       IBuildingRepository buildingRepository,
                       IRoleTypeRepository roleTypeRepository,
                       IUserRepository userRepository,
                       ILogger logger) : base(currentUser, logger)
 {
     _roleService        = roleService;
     _roleRepository     = roleRepository;
     _resourceManager    = new ResourceManager("FoxSec.Web.Resources.Views.Shared.SharedStrings", typeof(SharedStrings).Assembly);
     _buildingRepository = buildingRepository;
     _roleTypeRepository = roleTypeRepository;
     _userRepository     = userRepository;
     RegisterRoleRelatedMap();
 }
Esempio n. 2
0
 public UserDepartmentService(ICurrentUser currentUser, IDomainObjectFactory domainObjectFactory,
                              IEventAggregator eventAggregator,
                              IUserDepartmentRepository userDepartmentRepository,
                              ILogService logService,
                              IUserRoleRepository userRoleRepository,
                              IUserRepository userRepository,
                              IDepartmentRepository departmentRepository,
                              IRoleTypeRepository roleTypeRepository)
     : base(currentUser, domainObjectFactory, eventAggregator)
 {
     _userDepartmentRepository = userDepartmentRepository;
     _userRoleRepository       = userRoleRepository;
     _logService           = logService;
     _userRepository       = userRepository;
     _departmentRepository = departmentRepository;
     _roleTypeRepository   = roleTypeRepository;
 }
Esempio n. 3
0
 public RoleTypeV2Controller(IRoleTypeRepository roleTypeRepository)
 {
     this._roleTypeRepository = roleTypeRepository;
 }
 public RoleTypeController(IRoleTypeRepository roleTypeRepository, ICustomerRepository customerRepository)
 {
     _roleTypeRepository = roleTypeRepository;
     _customerRepository = customerRepository;
 }
 public CustomerController(ICustomerRepository customerRepository, IRoleTypeRepository roleTypeRepository)
 {
     _customerRepository = customerRepository;
     _roleTypeRepository = roleTypeRepository;
 }
 public RoleTypeController()
 {
     this.roleTypeRepository = new RoleTypeRepository();
 }
Esempio n. 7
0
 public RoleTypeController(IRoleTypeRepository repository)
 {
     _repository = repository;
 }
Esempio n. 8
0
 public RoleTypeService(IRoleTypeRepository repository, IUnitOfWork unitOfWork)
 {
     this.repository = repository;
     this.unitOfWork = unitOfWork;
 }