ITimeU.Controllers.ResultsController.Print C# (CSharp) Method

Print() public method

Prints the results.
public Print ( int checkpointid ) : ActionResult
checkpointid int The checkpointid.
return ActionResult
        public ActionResult Print(int checkpointid)
        {
            var checkpoint = CheckpointModel.getById(checkpointid);
            ViewBag.RaceName = checkpoint.Race.Name;
            ViewBag.CheckpointName = checkpoint.Name;
            var raceIntermediates = RaceIntermediateModel.GetRaceintermediatesForCheckpoint(checkpointid);
            return View(raceIntermediates);
        }