public ActionResult DeleteOccupationClass(string id)
        {
            IOccupationBLL bLL = new OccupationBLL();

            if (bLL.DeleteOccupationClassById(Convert.ToInt32(id)))
            {
                TempData["info"] = "已删除";
                return(Redirect("/Settings/OccupationSettings"));
            }
            else
            {
                TempData["error"] = "删除失败,该职位类型下有职位,无法直接删除";
                return(Redirect(Request.UrlReferrer.AbsoluteUri));
            }
        }