public ActionResult Index(AdminCredentials adminCredentials) { bool isAuthentic = homeManager.CheckAdmin(adminCredentials); if (isAuthentic) { return(RedirectToAction("Entry", "Course")); } return(View()); }