Example #1
0
        public ActionResult Index()
        {
            if (Request.Cookies["UserId"] == null)
            {
                return(RedirectToAction("Index", "Landing"));
            }

            return(View(examManager.GetAllExam()));
        }