コード例 #1
0
        public ActionResult GetSubjectDetailDataList(string id)
        {
            if (CommonFunc.IsNotLogin(Session["UserLogin"] + ""))
            {
                return(RedirectToAction("Login", "Accounts"));
            }
            Subjects sub = subject.GetSubjectById(id);

            ViewBag.Subject = sub;
            List <Lessons> data = lessons.GetAll("", "", id);

            return(View(data));
        }