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; }
public WebPermissionFilter(IMemoryCache cache, ISystemPermissionDapperRepository systemPermissionDapper) { this._cache = cache; this._systemPermissionDapper = systemPermissionDapper; }