コード例 #1
0
        public ActionResult Index(AdminCredentials adminCredentials)
        {
            bool isAuthentic = homeManager.CheckAdmin(adminCredentials);

            if (isAuthentic)
            {
                return(RedirectToAction("Entry", "Course"));
            }
            return(View());
        }