Exemplo n.º 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());
        }
Exemplo n.º 2
0
        public AwardSummary GetAwards()
        {
            AwardSummary awardSumamry = AwardAnalyzer.GetAwardSummary();

            return(awardSumamry);
        }