mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-06-05 22:35:17 -04:00
Epub Font Manager (#4037)
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com>
This commit is contained in:
@@ -35,6 +35,7 @@ public interface IUnitOfWork
|
||||
IEmailHistoryRepository EmailHistoryRepository { get; }
|
||||
IAppUserReadingProfileRepository AppUserReadingProfileRepository { get; }
|
||||
IAnnotationRepository AnnotationRepository { get; }
|
||||
IEpubFontRepository EpubFontRepository { get; }
|
||||
bool Commit();
|
||||
Task<bool> CommitAsync();
|
||||
bool HasChanges();
|
||||
@@ -78,6 +79,7 @@ public class UnitOfWork : IUnitOfWork
|
||||
EmailHistoryRepository = new EmailHistoryRepository(_context, _mapper);
|
||||
AppUserReadingProfileRepository = new AppUserReadingProfileRepository(_context, _mapper);
|
||||
AnnotationRepository = new AnnotationRepository(_context, _mapper);
|
||||
EpubFontRepository = new EpubFontRepository(_context, _mapper);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -109,6 +111,7 @@ public class UnitOfWork : IUnitOfWork
|
||||
public IEmailHistoryRepository EmailHistoryRepository { get; }
|
||||
public IAppUserReadingProfileRepository AppUserReadingProfileRepository { get; }
|
||||
public IAnnotationRepository AnnotationRepository { get; }
|
||||
public IEpubFontRepository EpubFontRepository { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Commits changes to the DB. Completes the open transaction.
|
||||
|
||||
Reference in New Issue
Block a user