Example #1
0
        public ActionResult DeletePerson(int id, FormCollection collection)
        {
            try
            {
                mgr.DeletePerson(id);

                return(RedirectToAction("Personen"));
            }
            catch
            {
                return(View());
            }
        }