Пример #1
0
 public ActionResult Delete(int id, bool?del)
 {
     if (client.DeleteCustomer(id))
     {
         ViewBag.message = "Customer Nuked";
     }
     else
     {
         ViewBag.message = "Could Not Nuke Customer";
     }
     return(RedirectToAction("Customers"));
 }