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

Print() public method

Prints the athletes.
public Print ( int raceId ) : System.Web.Mvc.ActionResult
raceId int
return System.Web.Mvc.ActionResult
        public ActionResult Print(int raceId)
        {
            ViewBag.RaceName = RaceModel.GetById(raceId).Name;
            var athletes = AthleteModel.GetAthletesForRace(raceId);
            return View(athletes);
        }