示例#1
0
        public ActionResult Results()
        {
            ParticipantsResultsModel model         = new ParticipantsResultsModel();
            PointsManager            pointsManager = new PointsManager();

            pointsManager.UpdateParPoints();

            AgeGroupManager ageGroupManager = new AgeGroupManager();

            model.ageGroupList = ageGroupManager.GetAgeGroupList();

            model.choice       = "Sum";
            model.Participants = resultsManager.SelectAllParticipants();

            return(View(model));
        }