Пример #1
0
        public ActionResult Index()
        {
            var categoryCount = statistic.getCount();

            ViewBag.count = categoryCount.ToString();

            var h = statistic.findTitle();

            ViewBag.titleCount = h.ToString();

            var writer = statistic.charWriter();

            ViewBag.writerCharCount = writer.ToString();

            var categoryMax = statistic.categoryName();

            ViewBag.categoryMaxValue = categoryMax;

            var fark = statistic.trueFalse();

            ViewBag.fark = fark.ToString();

            return(View());
        }