示例#1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="_iService"></param>
 /// <param name="_organizeService"></param>
 /// <param name="_roleService"></param>
 /// <param name="_userLogOnService"></param>
 public UserController(IUserService _iService, IOrganizeService _organizeService, IRoleService _roleService, IUserLogOnService _userLogOnService) : base(_iService)
 {
     iService         = _iService;
     organizeService  = _organizeService;
     roleService      = _roleService;
     userLogOnService = _userLogOnService;
 }
 public ClientsDataController(IItemsDetailService itemDetailService, IItemsService itemService, IOrganizeService organizeService, IRoleService roleService)
 {
     _itemDetailService = itemDetailService;
     _itemService       = itemService;
     _organizeService   = organizeService;
     _roleService       = roleService;
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="_iService"></param>
 /// <param name="_menuService"></param>
 /// <param name="_roleDataService"></param>
 /// <param name="_organizeService"></param>
 public RoleAuthorizeController(IRoleAuthorizeService _iService, IMenuService _menuService, IRoleDataService _roleDataService, IOrganizeService _organizeService) : base(_iService)
 {
     iService        = _iService;
     menuService     = _menuService;
     roleDataService = _roleDataService;
     organizeService = _organizeService;
 }
示例#4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="repository"></param>
 /// <param name="userLogOnRepository"></param>
 /// <param name="logService"></param>
 /// <param name="roleService"></param>
 /// <param name="organizeService"></param>
 public UserService(IUserRepository repository, IUserLogOnRepository userLogOnRepository, ILogService logService, IRoleService roleService, IOrganizeService organizeService) : base(repository)
 {
     _userRepository       = repository;
     _userSigninRepository = userLogOnRepository;
     _logService           = logService;
     _roleService          = roleService;
     _organizeService      = organizeService;
 }
示例#5
0
 /// <summary>
 /// construct
 /// </summary>
 public DoorControlService(IHikHttpUtillib hikHttp, IOrganizeService organizeService, IUserService userService)
 {
     _hikHttp         = hikHttp;
     _organizeService = organizeService;
     _userService     = userService;
     //_doorControlApi = configuration[HikVisionContext.HikVisionBaseApiName];
     //if (string.IsNullOrEmpty(_doorControlApi))
     //{
     //    throw new MyException("doorControlApiUrl is null");
     //}
 }
 public OrganizeApiController(IServiceCollection collection, ILogger <OrganizeApiController> logger,
                              IBackendUnitOfWork backendUnitOfWork,
                              IMediator mediator,
                              IOrganizeService organizeService,
                              IOrganizeRules organizeRules)
     : base(backendUnitOfWork, collection, logger)
 {
     this._backendUnitOfWork = backendUnitOfWork;
     this._mediator          = mediator;
     this._organizeService   = organizeService;
     this._organizeRules     = organizeRules;
 }
 public DepartmentApiController(IServiceCollection collection, ILogger <DepartmentApiController> logger,
                                IBackendUnitOfWork backendUnitOfWork,
                                IMediator mediator,
                                IDepartmentService departmentService,
                                IDepartmentRules departmentRules,
                                IOrganizeService organizeService,
                                IDataItemDetailService dataItemDetailService)
     : base(backendUnitOfWork, collection, logger)
 {
     this._backendUnitOfWork     = backendUnitOfWork;
     this._mediator              = mediator;
     this._departmentService     = departmentService;
     this._departmentRules       = departmentRules;
     this._organizeService       = organizeService;
     this._dataItemDetailService = dataItemDetailService;
 }
示例#8
0
 public AuthorizeApiController(IServiceCollection collection, ILogger <OrganizeApiController> logger,
                               IBackendUnitOfWork backendUnitOfWork,
                               IBaseUnitOfWork baseUnitOfWork,
                               IMediator mediator,
                               IModuleService moduleService,
                               IOrganizeService organizeService,
                               IOrganizeRules organizeRules,
                               RoleManager <RoleEntity> roleManager,
                               UserManager <UserEntity> userManager)
     : base(backendUnitOfWork, collection, logger)
 {
     this._backendUnitOfWork = backendUnitOfWork;
     this._baseUnitOfWork    = baseUnitOfWork;
     this._mediator          = mediator;
     this._moduleService     = moduleService;
     this._organizeService   = organizeService;
     this._organizeRules     = organizeRules;
     this._roleManager       = roleManager;
     this._userManager       = userManager;
 }
示例#9
0
 public OrganizeController(IRoleService roleService, IOrganizeService organizeService)
 {
     this._roleService     = roleService;
     this._organizeService = organizeService;
 }
示例#10
0
 public RoleService(IRoleRepository repository, ILogService logService, IOrganizeService organizeService) : base(repository)
 {
     _repository      = repository;
     _logService      = logService;
     _organizeService = organizeService;
 }
示例#11
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="_iService"></param>
 /// <param name="_organizeService"></param>
 public LogController(ILogService _iService, IOrganizeService _organizeService) : base(_iService)
 {
     iService        = _iService;
     organizeService = _organizeService;
 }
示例#12
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="_iService"></param>
 /// <param name="_organizeService"></param>
 public RoleController(IRoleService _iService, IOrganizeService _organizeService) : base(_iService)
 {
     iService        = _iService;
     organizeService = _organizeService;
 }
示例#13
0
 public OrganizeController(IOrganizeService organizeService)
 {
     this._organizeService = organizeService;
 }
示例#14
0
 public OrganizeController(IOrganizeService organizeService, IMapper mapper)
 {
     _organizeService = organizeService;
     _mapper          = mapper;
 }
示例#15
0
 public OrganizeController(ILoginInfo loginInfo, IOrganizeService OrganizeService)
 {
     _service = OrganizeService;
 }