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

PrintForClub() public method

Prints the athletes.
public PrintForClub ( int clubId ) : System.Web.Mvc.ActionResult
clubId int
return System.Web.Mvc.ActionResult
        public ActionResult PrintForClub(int clubId)
        {
            ViewBag.ClubName = ClubModel.GetById(clubId).Name;
            var athletes = AthleteModel.GetAthletes(clubId);
            return View(athletes);
        }