Exemple #1
0
        public ActionResult DeleteState()
        {
            objEst = new Estado();

            objEst.SetId(Convert.ToInt32(Request["id"]));

            if (objEst.Eliminar() != 0)
            {
                return(View("exitoEliminar"));
            }
            else
            {
                return(View("errorEliminar"));
            }
        }