Example #1
0
        public JsonResult DeleteSection()
        {
            if (!Permission.PremissionNeed(Request, Response, Session, UserRank.ADMINISTATOR))
            {
                return(Json(false));
            }

            int id = Convert.ToInt32(Request["kid"]);

            return(Json(SectionView.DeleteSection(id)));
        }