// GET: Participant public ActionResult Index() { if (Session["Username"] == null) { return(RedirectToAction("Index", "Login")); } var listOfParticipant = ParticipantHelper.GetListAllParticipant(); return(View(listOfParticipant)); }