public async Task <IActionResult> GetElections([FromQuery] ElectionSearch model)
        {
            PagedResult <ElectionDTO> elections = await _electionService.GetElectionsAsync(model);

            return(Ok(elections));
        }