public ActionResult GetCheckpoints(int raceId) { return Content(CheckpointModel.GetCheckpoints(raceId).ToDictionary(checkpoint => checkpoint.Id, checkpoint => checkpoint.Name).ToListboxvalues()); }