private void BackupBtn_Click(object sender, RoutedEventArgs e) { DbBackup.Backup("qpasEntities", "qpas"); }
private void RestoreBtn_Click(object sender, RoutedEventArgs e) { DbBackup.Restore("qpasEntities", "qpas"); ViewModel.RefreshCurrentPage(); }
private async void RestoreBtn_Click(object sender, RoutedEventArgs e) { DbBackup.Restore("qpasEntities", "qpas"); await ViewModel.RefreshCurrentPage().ConfigureAwait(true); }