public ActionResult DeleteConfirmed(int id)
 {
     ServiceReference1.Service1SoapClient ws = new ServiceReference1.Service1SoapClient();
     ws.Delete(id);
     return RedirectToAction("Index");
 }
Exemple #2
0
 public ActionResult DeleteConfirmed(int id)
 {
     ServiceReference1.Service1SoapClient ws = new ServiceReference1.Service1SoapClient();
     ws.Delete(id);
     return(RedirectToAction("Index"));
 }