Пример #1
0
 public SysUserService(ISysUserRepository sysUserRepository, ISysRoleRepository sysRoleRepository, ISysUserRoleRepository sysUserRoleRepository)
     : base(sysUserRepository)
 {
     _sysUserRepository     = sysUserRepository;
     _sysRoleRepository     = sysRoleRepository;
     _sysUserRoleRepository = sysUserRoleRepository;
 }
Пример #2
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="bus">中介者总线服务</param>
 public SysUserCommandHandler(IunitOfWork unitOfWork,
                              IMeDiatorHandler bus,
                              ISysUserRepository sysUserRepository) : base(unitOfWork, bus)
 {
     _sysUserRepository = sysUserRepository;
     _bus = bus;
 }
Пример #3
0
 public SysLoginService(ISysTokenService pTokenService, ISysPermissionService pPermissionservice, ISysLoginRepository pSysLoginRepository, ISysUserRepository _sysUserRepository)
 {
     tokenService       = pTokenService;
     permissionservice  = pPermissionservice;
     sysLoginRepository = pSysLoginRepository;
     sysUserRepository  = _sysUserRepository;
 }
Пример #4
0
 public SysUserBizService(ISysUserRepository sysUserRepository,
                          ISysUserRoleRepository sysUserRoleRepository)
 {
     _sysUserRepository     = sysUserRepository;
     _sysUserRoleRepository = sysUserRoleRepository;
     _unitOfWork            = _sysUserRepository.UnitOfWork;
 }
Пример #5
0
 public SysUserService(IUnitOfWork uow, IMapper mapper, ISysUserRepository userRepository, IPropertyMappingContainer <string> propertyMappingContainer)
 {
     this._uow                      = uow;
     this._mapper                   = mapper;
     this._userRepository           = userRepository;
     this._propertyMappingContainer = propertyMappingContainer;
 }
Пример #6
0
 public FwCleanController(IFwCleanRepository fwCleanRpt,
                          ISysUserRepository sysUserRpt,
                          IMapper mapper)
 {
     _fwCleanRpt = fwCleanRpt;
     _sysUserRpt = sysUserRpt;
     _mapper     = mapper;
 }
 public SysLoginService(ISysUserRepository sysUserRepository, ISysMenuAppService sysMenuAppService, IDistributedCache distributedCache, ISysLoginLogAppService sysLoginLogAppService, IOptionsMonitor <WebAppOptions> webAppOptions)
 {
     _sysUserRepository     = sysUserRepository;
     _sysMenuAppService     = sysMenuAppService;
     _distributedCache      = distributedCache;
     _sysLoginLogAppService = sysLoginLogAppService;
     _webAppOptions         = webAppOptions.CurrentValue;
 }
Пример #8
0
 public SysUserServices(IUnitOfWork unitOfWork, ISysUserRepository dal, ISysRoleRepository sysRoleRepository, ISysUserRoleRepository sysUserRoleRepository)
 {
     this._dal              = dal;
     base.BaseDal           = dal;
     _unitOfWork            = unitOfWork;
     _sysRoleRepository     = sysRoleRepository;
     _sysUserRoleRepository = sysUserRoleRepository;
 }
Пример #9
0
 public SysMenuAppService(ISysMenuRepository sysMenuRepository, ISysUserRepository sysUserRepository, ISysRoleRepository sysRoleRepository, IDistributedCache distributedCache, IOptionsMonitor <WebAppOptions> webAppOptions) : base(sysMenuRepository)
 {
     _sysMenuRepository = sysMenuRepository;
     _sysUserRepository = sysUserRepository;
     _sysRoleRepository = sysRoleRepository;
     _distributedCache  = distributedCache;
     _webAppOptions     = webAppOptions.CurrentValue;
 }
Пример #10
0
 public SysUserService(
     ISysUserRepository sysUserRepository,
     IMapper mapper,
     IMeDiatorHandler bus
     )
 {
     _bus               = bus;
     _mapper            = mapper;
     _sysUserRepository = sysUserRepository;
 }
Пример #11
0
        public AccountTest()
        {
            var options = new DbContextOptionsBuilder <ToDoContext>()
                          .UseInMemoryDatabase(Guid.NewGuid().ToString())
                          .Options;
            var dbContext = new ToDoContext(options);

            _userRepository = new SysUserRepository(dbContext);
            _unitOfWork     = new UnitOfWork(dbContext);
        }
Пример #12
0
 ///<summary>
 /// sys_userController
 ///</summary>
 public SysUserController(SysUserService sysUserService, ISysUserRepository sysUserRepository, SysAppRoleService sysAppRoleService, SysOrgService sysOrgService,
                          SysJobService sysJobService, SysUserAppRoleService sysUserAppRoleService)
 {
     _sysUserService        = sysUserService;
     _sysUserRepository     = sysUserRepository;
     _sysAppRoleService     = sysAppRoleService;
     _sysOrgService         = sysOrgService;
     _sysJobService         = sysJobService;
     _sysUserAppRoleService = sysUserAppRoleService;
 }
Пример #13
0
 public AccountController(IUnitOfWork unitOfWork,
                          ISysUserRepository userRepository,
                          IMapper mapper,
                          IJwtService jwtService)
 {
     _unitOfWork     = unitOfWork;
     _userRepository = userRepository;
     _mapper         = mapper;
     _jwtServcie     = jwtService;
 }
Пример #14
0
        public SysUserService(ISysUserRepository dal, IMapper mapper, IUser httpUser)
        {
            this._dal    = dal;
            base.baseDal = dal;

            _httpUser      = httpUser;
            base._httpUser = httpUser;

            _mapper      = mapper;
            base._mapper = mapper;
        }
Пример #15
0
 public SysUserController(ISysUserRepository sysUserRpt,
                          ISysRoleUserRepository sysRoleUserRpt,
                          ISysRoleRepository sysRoleRpt,
                          ISysOrgRepository orgRepository,
                          HotelAppContext context,
                          IMapper mapper)
 {
     _sysUserRpt     = sysUserRpt;
     _sysRoleUserRpt = sysRoleUserRpt;
     _sysRoleRpt     = sysRoleRpt;
     _context        = context;
     _mapper         = mapper;
 }
Пример #16
0
 public SysUserService(ILogger <SysUserService> logger,
                       IConfiguration config,
                       IJwtService jwtService,
                       ISysUserRepository sysUserRepository,
                       IFreeSql <DBFlagMain> fsq,
                       ISysRoleRepository sysRoleRepository) : base(sysUserRepository, logger)
 {
     _sysUserRepository = sysUserRepository;
     _fsq = fsq;
     _sysRoleRepository = sysRoleRepository;
     _config            = config;
     _jwtService        = jwtService;
 }
Пример #17
0
        public SysRoleService(ISysRoleRepository dal, IMapper mapper, IUser httpUser, ISysUserRepository sysUserRepository)
        {
            this._dal    = dal;
            base.baseDal = dal;

            _httpUser      = httpUser;
            base._httpUser = httpUser;

            _mapper      = mapper;
            base._mapper = mapper;

            _sysUserRepository = sysUserRepository;
        }
Пример #18
0
 public MainServices(IMainRepository iMainRepository, IChildrenRepository iChildrenRepository, ISysRoleRepository iSysRoleRepository,
                     ISysRoleModuleButtonRepository iSysRoleModuleButtonRepository, ISysModuleRepository iSysModuleRepository, ISysUserRepository iSysUserRepository,
                     ISysUserRoleRepository iSysUserRoleRepository)
 {
     base.BaseRepository             = iMainRepository;//如果要用基类封装的方法必须传值
     _iMainRepository                = iMainRepository;
     _iChildrenRepository            = iChildrenRepository;
     _iSysRoleRepository             = iSysRoleRepository;
     _iSysRoleModuleButtonRepository = iSysRoleModuleButtonRepository;
     _iSysModuleRepository           = iSysModuleRepository;
     _iSysUserRepository             = iSysUserRepository;
     _iSysUserRoleRepository         = iSysUserRoleRepository;
 }
Пример #19
0
 public ToDoShareController(IUnitOfWork unitOfWork,
                            ISysUserRepository sysUserRepository,
                            IToDoListRepository toDoListRepository,
                            IToDoShareRepository toDoShareRepository,
                            IMapper mapper,
                            IOperatorUser operatorUser,
                            IMailService mailService)
 {
     _unitOfWork          = unitOfWork;
     _sysUserRepository   = sysUserRepository;
     _toDoListRepository  = toDoListRepository;
     _toDoShareRepository = toDoShareRepository;
     _mapper       = mapper;
     _operatorUser = operatorUser;
     _mailService  = mailService;
 }
Пример #20
0
 public SysUserService(
     IAuthUser authUser,
     ICache cache,
     IMapper mapper,
     ISysUserRepository sysUserRepository,
     IOptionsMonitor <SystemConfig> systemConfig,
     IUploadTool uploadTool
     )
 {
     _authUser          = authUser;
     _cache             = cache;
     _mapper            = mapper;
     _sysUserRepository = sysUserRepository;
     _systemConfig      = systemConfig;
     _uploadTool        = uploadTool;
 }
Пример #21
0
 public SysMenuController(ISysMenuRepository sysMenuRpt,
                          ISysRoleMenuRepository sysRoleMenuRpt,
                          ISysRoleRepository sysRoleRpt,
                          StoreAppContext context,
                          ISysRoleUserRepository sysRoleUserRepository,
                          ISysUserRepository sysUserRepository,
                          IMapper mapper)
 {
     _sysMenuRpt            = sysMenuRpt;
     _sysRoleMenuRpt        = sysRoleMenuRpt;
     _sysRoleUserRepository = sysRoleUserRepository;
     _sysRoleRpt            = sysRoleRpt;
     _sysUserRepository     = sysUserRepository;
     _context = context;
     _mapper  = mapper;
 }
Пример #22
0
 public AuthService(
     ICache cache,
     IMapper mapper,
     ISysUserRepository userRepository,
     ISysResourceRepository resourceRepository,
     IAuthUser authUser,
     IPermissionDomain permissionDomain
     )
 {
     _cache                 = cache;
     _mapper                = mapper;
     _userRepository        = userRepository;
     _sysResourceRepository = resourceRepository;
     _authUser              = authUser;
     _permissionDomain      = permissionDomain;
 }
Пример #23
0
        public SysMenuService(ISysMenuRepository dal, IMapper mapper, IUser httpUser, ISysUserRepository sysUserRepository, ISysMenuPowerGRepository sysMenuPowerGRepository, ISysPowerGroupRepository sysPowerGroupRepository)
        {
            this._dal    = dal;
            base.baseDal = dal;

            _httpUser      = httpUser;
            base._httpUser = httpUser;

            _mapper      = mapper;
            base._mapper = mapper;

            _sysUserRepository = sysUserRepository;

            _sysPowerGroupRepository = sysPowerGroupRepository;

            _sysMenuPowerGRepository = sysMenuPowerGRepository;
        }
 public KcStoreoutController(IKcStoreoutRepository kcStoreoutRpt, HotelAppContext context,
                             IKcStoreRepository kcStoreRpt,
                             ISysUserRepository sysUserRepository,
                             ISysDicRepository sysDicRepository,
                             ISysOrgRepository sysOrgRepository,
                             IKcGoodsRepository kcGoodsRepository,
                             IKcStoreoutlistRepository kcStoreoutlistRepository, IMapper mapper)
 {
     _kcStoreoutRpt     = kcStoreoutRpt;
     _mapper            = mapper;
     _context           = context;
     _kcStoreoutlistRpt = kcStoreoutlistRepository;
     _kcStoreRpt        = kcStoreRpt;
     _sysUserRepository = sysUserRepository;
     _sysDicRepository  = sysDicRepository;
     _sysOrgRepository  = sysOrgRepository;
     _kcGoodsRepository = kcGoodsRepository;
 }
 public KcStoreoutController(IKcStoreoutRepository kcStoreoutRpt, StoreAppContext context,
                             IKcStoreRepository kcStoreRpt,
                             ISysUserRepository sysUserRepository,
                             ISysDicRepository sysDicRepository,
                             ISysOrgRepository sysOrgRepository,
                             IKcGoodsRepository kcGoodsRepository,
                             ILogger <ValuesController> logger,
                             IKcStoreoutlistRepository kcStoreoutlistRepository, IMapper mapper)
 {
     _kcStoreoutRpt     = kcStoreoutRpt;
     _mapper            = mapper;
     _context           = context;
     _kcStoreoutlistRpt = kcStoreoutlistRepository;
     _kcStoreRpt        = kcStoreRpt;
     _sysUserRepository = sysUserRepository;
     _sysDicRepository  = sysDicRepository;
     _sysOrgRepository  = sysOrgRepository;
     _kcGoodsRepository = kcGoodsRepository;
     _logger            = logger;
 }
Пример #26
0
 public KcStoreinController(IKcStoreinRepository kcStoreinRpt, StoreAppContext context,
                            IKcStoreRepository kcStoreRpt,
                            ISysUserRepository sysUserRepository,
                            IKcSupplierRepository kcSupplierRepository,
                            ISysDicRepository sysDicRepository,
                            ISysOrgRepository sysOrgRepository,
                            IKcGoodsRepository kcGoodsRepository,
                            IKcStoreinlistRepository kcStoreinlistRepository, IMapper mapper)
 {
     _kcStoreinRpt         = kcStoreinRpt;
     _mapper               = mapper;
     _context              = context;
     _kcStoreinlistRpt     = kcStoreinlistRepository;
     _kcStoreRpt           = kcStoreRpt;
     _sysUserRepository    = sysUserRepository;
     _kcSupplierRepository = kcSupplierRepository;
     _sysDicRepository     = sysDicRepository;
     _sysOrgRepository     = sysOrgRepository;
     _kcGoodsRepository    = kcGoodsRepository;
 }
 public AccountController(ISysUserRepository sysuserRepository, ISysUserRoleRepository sysuserroleRepository)
 {
     this.sysuserRepository     = sysuserRepository;
     this.sysuserroleRepository = sysuserroleRepository;
 }
 public AccountController(ISysUserRepository userRepository)
 {
     _userRepository = userRepository ?? throw new ArgumentNullException(nameof(userRepository));
 }
 public ShowInvoiceController(ISysUserRepository sysuserRepository, IInvoiceRepository invoiceRepository)
 {
     this.sysuserRepository = sysuserRepository;
     this.invoiceRepository = invoiceRepository;
 }
Пример #30
0
 public AccountService(ISysUserRepository service)
 {
     this.service = service;
 }
Пример #31
0
 public SysUserBLL(ISysUserRepository sysUserRepository, ISysRightRepository sysRightRepository)
 {
     this.m_Rep = sysUserRepository;
     this.SysRightRepository = sysRightRepository;
 }
Пример #32
0
        public SysUserAppService(ISysUserRepository repository)
            : base(repository)
        {

        }
Пример #33
0
 public AccountService(ISysUserRepository service)
 {
     this.service = service;
 }
Пример #34
0
 public SysUserManagementService(ISysUserRepository sysUserRepository)
 {
     _sysUserRepository = sysUserRepository;
 }