public async Task Restore() { Start(false, "Initializing..."); try { await _sqlserverUtil.Restore(DbRestorOptVm.GetDbRestoreOption(SqlInstancesVm.SelectedInst), this, OnRestored); } catch { IsProcessing = false; throw; } }
public void Restore(ISqlServerUtil.DbRestorOptions opt, IProgressBarProvider progressBarProvider, Action additionalCallbackOnCompleted) { _sqlUtil.Restore(opt, progressBarProvider, additionalCallbackOnCompleted); }