예제 #1
0
        private void btnDelete_Click(object sender, RoutedEventArgs e)
        {
            CCrypto stock = new CCrypto();

            stock.Delete();
            Refresh();

            MainWindow m = new MainWindow();

            m.Refresh();
            //Close();
        }
예제 #2
0
 public ActionResult Edit(Guid id, CCrypto collection)
 {
     try
     {
         // TODO: Add update logic here
         collection.Delete();
         return(RedirectToAction("Index"));
     }
     catch
     {
         return(View());
     }
 }