Пример #1
0
        public ActionResult Delete(int id, Election election)
        {
            try
            {
                _electionManager.DeactivateElection(id);

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