Esempio n. 1
0
        public ActionResult DeleteCliente(int clt_Id)
        {
            DeleteClienteViewModel model = new DeleteClienteViewModel();

            model.clt_Id = clt_Id;
            return(PartialView("DeleteCliente", model));
        }
Esempio n. 2
0
 public ActionResult DeleteCliente(DeleteClienteViewModel model)
 {
     _data.DeleteCliente(model.clt_Id);
     return(RedirectToAction("Index"));
 }