// GET: Exams public ActionResult Index() { var userID = User.Identity.GetUserId(); return(View(_examCoreService.GetAll().Where(x => x.Owner == userID).ToList())); }
// GET: Questions/Create public ActionResult Create() { ViewBag.ExamID = new SelectList(_examService.GetAll(), "Id", "Name"); return(View()); }