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))); }
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))); }