public async Task <IActionResult> GetByTime(string time)
        {
            var electionId = await _electionService.GetByTime(long.Parse(time));

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

            return(Ok(electionId));
        }