Exemplo n.º 1
0
 private void DeleteCustomerEarMoldOrder(DialogResult dialogResult)
 {
     if (dialogResult == DialogResult.Ok)
     {
         Task.Factory.StartNew(() =>
         {
             CustomerAction.DeleteCustomerEarMoldOrders(this.DBConnectionString, this.Entity.CustomerEarMoldOrderCollection.Where(x => x.IsSelected));
             RefreshCustomerEarMoldOrderCollection();
         });
     }
     else
     {
         this.ParentViewModel.ShowProgressBar = false;
     }
 }