Transaction Support (#309)
* Added transactions to UnitOfWork and refactored code to use it. * This included blank UI fix from Kavita-webui
This commit is contained in:
parent
d2e444910d
commit
6e1b227e65
11 changed files with 168 additions and 124 deletions
|
@ -11,7 +11,10 @@ namespace API.Interfaces
|
|||
ISettingsRepository SettingsRepository { get; }
|
||||
IAppUserProgressRepository AppUserProgressRepository { get; }
|
||||
ICollectionTagRepository CollectionTagRepository { get; }
|
||||
Task<bool> Complete();
|
||||
bool Commit();
|
||||
Task<bool> CommitAsync();
|
||||
bool HasChanges();
|
||||
bool Rollback();
|
||||
Task<bool> RollbackAsync();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue