예제 #1
0
 private void RestoreBtn_Click(object sender, RoutedEventArgs e)
 {
     DbBackup.Restore("qpasEntities", "qpas");
     ViewModel.RefreshCurrentPage();
 }
예제 #2
0
 private async void RestoreBtn_Click(object sender, RoutedEventArgs e)
 {
     DbBackup.Restore("qpasEntities", "qpas");
     await ViewModel.RefreshCurrentPage().ConfigureAwait(true);
 }