コード例 #1
0
 public SystemPermissionLogic(IRepository <SystemPermission, Guid> repository, ISystemPermissionDapperRepository systemPermissionDapperRepository, ISystemMenuButtonDapperRepository systemMenuButtonDapperRepository, ISystemMenuRepository menuRepository, ISystemUserRepository userRepository, ISystemPermissionUserRepository permissionUserRepository, IMemoryCache cache) : base(repository)
 {
     _systemPermissionDapperRepository = systemPermissionDapperRepository;
     _systemMenuButtonDapperRepository = systemMenuButtonDapperRepository;
     _menuRepository           = menuRepository;
     _userRepository           = userRepository;
     _permissionUserRepository = permissionUserRepository;
     _cache = cache;
 }
コード例 #2
0
 public WebPermissionFilter(IMemoryCache cache, ISystemPermissionDapperRepository systemPermissionDapper)
 {
     this._cache = cache;
     this._systemPermissionDapper = systemPermissionDapper;
 }