コード例 #1
0
        public ActionResult GetAllSection()
        {
            if (Session["UserRoleId"] == null)
            {
                return(RedirectToAction("Login", "Login"));
            }
            var sections = _sectionManager.GetAllSection();

            return(Json(sections, JsonRequestBehavior.AllowGet));
        }