public async Task <ActionResult> MyExam() { Dictionary <int, string> result = await services.GetRegisteredCourses(User.Identity.GetUserId()); if (result != null) { return(View(result)); } else { return(RedirectToAction("Index", "Home")); } }
public async Task <ActionResult> MyExam() { Dictionary <int, string> result = await services.GetRegisteredCourses(User.Identity.GetUserId()); if (result != null) { return(View(result)); } else { return(RedirectToAction("Index", "Home")); } }