예제 #1
0
        public IActionResult SearchTest()
        {
            int id = Convert.ToInt32(HttpContext.Request.Query["id"]);

            ViewBag.Exam = id;
            var tests = Exam.FindAllTest(id);

            ViewBag.tests = tests;
            ViewBag.count = tests.Count();
            return(View());
        }