Пример #1
0
        public ModuleService(ISysModuleRepository sysModuleRepository,ISysModuleOperateRepository sysModuleOperateRepository,
            IUnitOfWork unitOfWork)
        {
            this._moduleRepository = sysModuleRepository;
            this._moduleOperateRepository = sysModuleOperateRepository;

            this._unitOfWork = unitOfWork;
            this._moduleRepository.UnitOfWork = unitOfWork;
            this._moduleOperateRepository.UnitOfWork = unitOfWork;
        }
Пример #2
0
        public RoleService(ISysRoleRepository roleRepository, ISysModuleRepository moduleRepository, ISysModuleOperateRepository moduleOperateRepository,
                           ISysFunctionRightRepository functionRightRepository,
                           IUnitOfWork unitOfWork)
        {
            this._unitOfWork              = unitOfWork;
            this._roleRepository          = roleRepository;
            this._moduleOperateRepository = moduleOperateRepository;
            this._moduleRepository        = moduleRepository;
            this._functionRightRepository = functionRightRepository;

            this._roleRepository.UnitOfWork          = unitOfWork;
            this._moduleRepository.UnitOfWork        = unitOfWork;
            this._moduleOperateRepository.UnitOfWork = unitOfWork;
            this._functionRightRepository.UnitOfWork = unitOfWork;
        }
 public SysModuleOperateBLL(ISysModuleOperateRepository sysModuleOperateRepository)
 {
     this.m_Rep=sysModuleOperateRepository;
 }
Пример #4
0
 public SysModuleOperateApp(ISysModuleOperateRepository sysModuleOperateRepository, ISysRole2UserRepository sysRole2UserRepository)
 {
     _sysModuleOperateRepository = sysModuleOperateRepository;
     _sysRole2UserRepository     = sysRole2UserRepository;
 }