mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 17:11:10 +00:00
Stores scheduler page display preferences per user
This commit is contained in:
1 parent
ab8ab51397
commit
237be9e2c8
50 files changed
+3144
-60
No files matched your search
@@ -48,6 +48,7 @@ public class UnitOfWork : IUnitOfWork, IDisposable
|
||||
private ILibraryBookReaderConfigurationRepository? _libraryBookReaderConfigurationRepository;
|
||||
private IScheduledJobRepository? _scheduledJobRepository;
|
||||
private IScheduledJobExecutionRepository? _scheduledJobExecutionRepository;
|
||||
private ISchedulerDisplayPreferencesRepository? _schedulerDisplayPreferencesRepository;
|
||||
private IPluginRepository? _pluginRepository;
|
||||
private IThemeRepository? _themeRepository;
|
||||
private IUserRepository? _userRepository;
|
||||
@@ -242,6 +243,18 @@ public class UnitOfWork : IUnitOfWork, IDisposable
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the scheduler display preferences repository.
|
||||
/// </summary>
|
||||
public ISchedulerDisplayPreferencesRepository SchedulerDisplayPreferencesRepository
|
||||
{
|
||||
get
|
||||
{
|
||||
_schedulerDisplayPreferencesRepository ??= new SchedulerDisplayPreferencesRepository(_luminaDbContext);
|
||||
return _schedulerDisplayPreferencesRepository;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the plugin repository.
|
||||
/// </summary>
|
||||
|
||||
Reference in new issue
Block a user