Exemplo n.º 1
0
        public bool DeleteElection(long id)
        {
            var election = _electionRepository.Get(id);

            if (election != null)
            {
                _electionRepository.Remove(election);
                return(true);
            }

            return(false);
        }