Exemplo n.º 1
0
        public ActionResult DeleteExam(Guid examID)
        {
            if (Request.Cookies["UserId"] == null)
            {
                return(RedirectToAction("Index", "Landing"));
            }

            examManager.DeleteExamByID(examID);
            return(RedirectToAction("Index"));
        }