public async Task <ActionResult <object> > PostElection(Election election)
        {
            var electionId = await _electionService.AddElection(election);

            if (electionId == null)
            {
                return(BadRequest());
            }

            return(CreatedAtAction("GetElection", new { id = electionId }, election));
        }