Beispiel #1
0
        // GET: Statistics
        public ActionResult Index()
        {
            AwardSummary awardSumamry = AwardAnalyzer.GetAwardSummary();

            ViewBag.PersonOfIndustrious = awardSumamry.PersonOfIndustrious;
            ViewBag.PersonOfSilent      = awardSumamry.PersonOfSilent;
            ViewBag.PersonOfWarrior     = awardSumamry.PersonOfWarrior;
            return(View());
        }
Beispiel #2
0
        public AwardSummary GetAwards()
        {
            AwardSummary awardSumamry = AwardAnalyzer.GetAwardSummary();

            return(awardSumamry);
        }