public BackupService( IOptionsMonitor <ILog> options, BackupStorageFactory backupStorageFactory, BackupWorker backupWorker, BackupRepository backupRepository, BackupServiceNotifier backupServiceNotifier, IConfiguration configuration) { Log = options.CurrentValue; BackupStorageFactory = backupStorageFactory; BackupWorker = backupWorker; BackupRepository = backupRepository; BackupServiceNotifier = backupServiceNotifier; Configuration = configuration; }
public BackupProgress GetRestoreProgress(int tenantId) { return(BackupServiceNotifier.GetRestoreProgress(tenantId)); }
public BackupProgress GetTransferProgress(int tenantId) { return(BackupServiceNotifier.GetTransferProgress(tenantId)); }