示例#1
0
 public SysPermissionService(ISysPermissionRepository sysPermissionRepository, ISysModuleService sysModuleService, ISysRoleService sysRoleService, ISysButtonService sysButtonService) : base(sysPermissionRepository)
 {
     _sysPermissionRepository = sysPermissionRepository;
     _sysModuleService        = sysModuleService;
     _sysRoleService          = sysRoleService;
     _sysButtonService        = sysButtonService;
 }
 public SysPermissionService(ISysPermissionRepository sysPermissionRepository, ISysUserRoleRepository sysUserRoleRepository, ISysRolePermissionRepository sysRolePermissionRepository, IRedisCacheManager redisCacheManager)
 {
     this.sysPermissionRepository     = sysPermissionRepository;
     this.sysUserRoleRepository       = sysUserRoleRepository;
     this.sysRolePermissionRepository = sysRolePermissionRepository;
     this.redisCacheManager           = redisCacheManager;
 }
 public SysPermissionService(
     IMapper mapper,
     ICache cache,
     ISysPermissionRepository sysPermissionRepository,
     ISysRPermissionRoleRepository sysRPermissionRoleRepository,
     ISysRPermissionConditionRepository sysRPermissionConditionRepository,
     IPermissionDomain permissionDomain
     )
 {
     _mapper = mapper;
     _cache  = cache;
     _sysPermissionRepository           = sysPermissionRepository;
     _sysRPermissionRoleRepository      = sysRPermissionRoleRepository;
     _sysRPermissionConditionRepository = sysRPermissionConditionRepository;
     _permissionDomain = permissionDomain;
 }
 public SysPermissionService(ISysPermissionRepository sysPermissionRepository)
 {
     SysPermissionRepository = sysPermissionRepository;
 }
示例#5
0
 public SysPermissionService(ISysPermissionRepository SysPermissionRepository, ISysMenuRepository SysMenuRepository)
 {
     sysPermissionRepository = SysPermissionRepository;
     sysMenuRepository       = SysMenuRepository;
 }
示例#6
0
 public SysPermissionController(ISysPermissionRepository repository)
 {
     SysPermissionRepository = repository ?? throw new ArgumentNullException(nameof(repository));
 }
        public SysPermissionAppService(ISysPermissionRepository repository)
            : base(repository)
        {

        }