Exemplo n.º 1
0
        public ActionResult ConfirmDelete(int id = 0)
        {
            try
            {
                bool check = DaCustomer.RemoveCustomer(id);

                //if (check == false)
                //    return View(customer);

                return(RedirectToAction("Index"));
            }
            catch
            {
                return(HttpNotFound());
            }
        }