public IActionResult GetAllVoters() { try { return Ok(Logic.GetAllVoters()); } catch (Exception ex) { return StatusCode(StatusCodes.Status500InternalServerError, ex.Message); } }