public async Task <IActionResult> GetElectionDetails(int electionId)
        {
            ElectionDTO election = await _electionService.GetElectionDetailsByIdAsync(electionId);

            return(Ok(election));
        }