public SysPermissionService(ClientRepositoryBase <SysPermission> repo, IServiceProvider serviceProvider) : base(repo, serviceProvider) { this._distributedCache = _serviceProvider.GetService <IDistributedCache>(); this._sysMenuService = _serviceProvider.GetService <SysMenuService>(); this._adminWorkContextProvider = _serviceProvider.GetService <IAdminWorkContextProvider>(); this._sysRoleService = _serviceProvider.GetService <SysRoleService>(); }
public SysRoleAdminUserInfoService(ClientRepositoryBase <SysRoleAdminUserInfo> repo, IServiceProvider serviceProvider) : base(repo, serviceProvider) { _sysRoleService = _serviceProvider.GetService <SysRoleService>(); }